PnP TerrainCreator - Forum

The PnP TerrainCreator Forum
It is currently Thu Sep 21, 2017 8:29 am

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Degenerate triangles
PostPosted: Sat Dec 31, 2005 12:53 am 
Offline
User avatar

Joined: Fri Nov 11, 2005 4:41 pm
Posts: 38
Hi

When exporting as mesh (.x ) i have found that the patches contain degenerate triangles

This is a porblem for 3impact as it will just say degenerate triangles found and aborts.

In 16 .x files from a 64 patch from a 256 terrain patches 3 7 11 15 had degenerate triangles

One of the files isattached this is a real problem for me is there a way to fix it?


Attachments:
00000-00000-003_5.00.zip [165.12 KiB]
Downloaded 590 times
Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 01, 2006 2:53 pm 
Offline
Programmierdochfix
User avatar

Joined: Tue Apr 27, 2004 12:53 pm
Posts: 891
Location: Braunschweig
I think, I found and fixed it. I'll have to finish a few things and can hopefully release a beta for 1.1.9 on tuesday.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 01, 2006 11:55 pm 
Offline
User avatar

Joined: Fri Nov 11, 2005 4:41 pm
Posts: 38
If you want me to beta test let me know

Cant wait for the next version :)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 03, 2006 11:05 pm 
Offline
Programmierdochfix
User avatar

Joined: Tue Apr 27, 2004 12:53 pm
Posts: 891
Location: Braunschweig
Just uploaded updates for a beta of version 1.1.9.
You can use your normal account to log in to our download section. The beta releases are at the bottom of the page.

The texture map looks quite nice with 8 resp. 16 pixels per height map element. But unfortunately, at the moment the interactive texturing with 16 pixels using texture maps is quite slow. So I'd suggest to use the blended texture mode, while editing the surface textures and switch to texture map mode to view the result and to export it.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 04, 2006 1:20 am 
Offline
User avatar

Joined: Fri Nov 11, 2005 4:41 pm
Posts: 38
Hi export of map as mesh creates no output??

No .x files and no textures

16 pix per pixel ground texture size 16 detail texture 32

the textures in the sectors\texturmap folder look great though.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 04, 2006 1:35 am 
Offline
Programmierdochfix
User avatar

Joined: Tue Apr 27, 2004 12:53 pm
Posts: 891
Location: Braunschweig
No output, no degenerated triangles: problem solved :D

Mesh export (x) works on my machine. Is the export doing anything? Or is it directly finished?

Can you please tell me date and time of the file
"PnP TerrainCreator\PlugIns\PnPTCXFileHMapExportPlugIn.dll"

You could try deleting the contents of the plugin directory and afterwards install the update again.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 04, 2006 11:32 am 
Offline
User avatar

Joined: Fri Nov 11, 2005 4:41 pm
Posts: 38
Hi i will try that tonight

The export appears to happen as the progress bar seems to work and the disk is accessed but no files are created in the destination directory.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 04, 2006 11:38 am 
Offline
Programmierdochfix
User avatar

Joined: Tue Apr 27, 2004 12:53 pm
Posts: 891
Location: Braunschweig
Hm, strange. Sure you have looked into the right directory?
I changed a bit of the code, for handling file names. Can you tell me the complete path, where you want to export to? Maybe there is a problem.

To make sure you have the right version of the exporter PlugIn: Is there a drop-down box to select a light map and a check box "Flip Y" on the export settings dialog?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 04, 2006 12:23 pm 
Offline
User avatar

Joined: Fri Nov 11, 2005 4:41 pm
Posts: 38
Yes those settings are visible and i left the Flip Y on its default setting.

my export path (from memory) is e:\game_project\game\levels\techdemo\mesh

the terrain project is in

e:\game_project\terrains\techdemo

from the menu i select export->mesh->direct.x

selected e:\game_project\game\levels\techdemo\mesh (which it remembered from the last time i did it)

30 secs of exporting sector 0,0

nothing in the selected directory?? i didnt try exporting .obj etc i only tried .x as thats what i am using.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 04, 2006 12:36 pm 
Offline
Programmierdochfix
User avatar

Joined: Tue Apr 27, 2004 12:53 pm
Posts: 891
Location: Braunschweig
Uh, ok. I found the problem.

The terrain export (from the "File" menu) doesn't work for some reason. But the sector export (from the sector's context menu) works. Please use the sector export for now.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 04, 2006 1:01 pm 
Offline
User avatar

Joined: Fri Nov 11, 2005 4:41 pm
Posts: 38
ok a quick question

if i do it from the file menu it exports(used to :P) all the mesh sectors

But if use the contect meu it prompts for a file name and not for a folder am i doing something wrong? i only seemed to be able to export to a folder from the menu.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 04, 2006 1:57 pm 
Offline
Programmierdochfix
User avatar

Joined: Tue Apr 27, 2004 12:53 pm
Posts: 891
Location: Braunschweig
Yes it wants a file name. But if the sector is to be separated into patches, it will create multiple files using the file name you specified and append the patch index in the same way as the terrain export does.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 04, 2006 2:28 pm 
Offline
User avatar

Joined: Fri Nov 11, 2005 4:41 pm
Posts: 38
ahhh ok i will try this tonight (gets excited) you can tell i hate the day job :)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 04, 2006 7:36 pm 
Offline
Programmierdochfix
User avatar

Joined: Tue Apr 27, 2004 12:53 pm
Posts: 891
Location: Braunschweig
I updated the beta download to fix that problem.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 05, 2006 1:10 am 
Offline
User avatar

Joined: Fri Nov 11, 2005 4:41 pm
Posts: 38
ok the degenerate triangle prob seems to be fixed

The export from the menu works :)


this is a screenshot of the pnp terrain in 3impact not too shabby :) well done guys this is one great tool you have.

Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron