Horde3D

Next-Generation Graphics Engine
It is currently 22.11.2024, 07:05

All times are UTC + 1 hour




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 05.10.2010, 19:55 
Offline

Joined: 05.10.2010, 19:23
Posts: 3
First off, hello! This is my first time posting but I've been using Horde3D for a little while now.

My issue is with normal maps specifically not displaying properly on the model in the game engine. For some reason the textures are being smeared around the model instead of displaying how I would expect them to. I'm unsure whether this is my being new at creating normal maps or a problem with the game engine (or my implementation).

Is it apparent what I'm doing wrong here? Any help is greatly appreciated.

http://tinyurl.com/27h9ema (normal map not working and smearing)
http://tinyurl.com/2a94gzm (normal map "working" but still smearing)

-Patrick


Top
 Profile  
Reply with quote  
PostPosted: 05.10.2010, 21:00 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
Without knowing what exactly you are doing (did you create this model with a design tool and exported it the normal collada way?) I would guess that there's either something wrong with the normal map or the texture coordinates.
If you are using a collada file, what design tool/exporter did you use?


Top
 Profile  
Reply with quote  
PostPosted: 05.10.2010, 21:47 
Offline

Joined: 05.10.2010, 19:23
Posts: 3
This was a pre-rigged, pre-texture mapped model that came with Poser Pro. I made adjustments to the model in 3dsMax, exported from Max as collada, and used the horde collada converter to get the stuff into the game engine. The normal map was made in Photoshop and wasn't included with the model.

Any ideas as to what could have messed up my texture coordinates and possible solutions? Re-texture map the model?

Thanks for the hasty response! :)

-Patrick


Top
 Profile  
Reply with quote  
PostPosted: 05.10.2010, 21:58 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
So you had the model correctly set up with the normal map in 3Ds max, and it's rendered correctly within 3Ds?
If that's the case, it should be a problem either in the exporter or the converter (Maybe providing the collada file and textures may help then to solve the problem). If not, there's something wrong with the model itself.


Top
 Profile  
Reply with quote  
PostPosted: 05.10.2010, 22:29 
Offline

Joined: 08.06.2010, 14:17
Posts: 63
Note: Max's built-in collada exporter sucks. Try exporting it with opencollada plugin, it may help.


Top
 Profile  
Reply with quote  
PostPosted: 05.10.2010, 22:39 
Offline

Joined: 05.10.2010, 19:23
Posts: 3
Thanks for the replies guys.

I have OpenCollada installed but I don't think that is what I used. I will give that a try and do a little bit more testing to make sure this is a problem just with Horde3D.

While I'm not 100% sure this won't happen for this particular normal map in 3dsMax, in the past I saw the exact same effect when I tried to apply a bump map to the model in Horde3d (that definitely worked in Max).

Although I've seen the terms 'bump map' and 'normal map' used interchangeably, they seem like two very different things. Are BOTH normal and bump maps supported? Do they use the same flags in their material.xml files?

Thanks again and I'll report back once I've played with it some more.

-Patrick


Top
 Profile  
Reply with quote  
PostPosted: 12.10.2010, 16:56 
Offline

Joined: 04.09.2010, 21:42
Posts: 11
Bump maps are not "given" in horde, but can be made in the shader as far as I know, same way as it's done with the normal maps (from what I can see) it;s just that bump maps are older and give less detail in my opinion.

I have had the same thing (and right now, still have). As a test we just made a cube with some normal map and it worked just fine so there's no doubt that normal maps work, but with the model of a rock we made, the normal seemed not to work (at all), thing is, in my case this could be the case in lack of light and a rather noisy texture.

Anyway, the only time I encountered the smearing was through the use of the parralax mapping instead of normal mapping (in the material), but I don't really know what differs internally between the two so yeah :p


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 24 guests


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
Powered by phpBB® Forum Software © phpBB Group