Amabilis Software    3D Canvas Community    3D Canvas Discussion Forums  Hop To Forum Categories  Game Development    exporting vertex-normals?
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
It seems that 3D Canvas models do not work properly in 3impact becouse 3DC doesn't exports vertex-normals properly to .x files. Or at least this is what the developers of 3impact replied to me when I asked about the problem. They also said that they can't do much about. Is there anything that can be done to make 3impact and 3DC to wotk together?

The attachment is a shot from 3impact to show the problem.

"Eat me! See if I care."

Image3impactbug.jpg (5 Kb, 300 downloads)
 
Posts: 118 | Location: Finland | Registered: Fri November 07 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Alan
Posted Hide Post
This might be a workaround for you.
try to crease your model before you export it - try both extreams of the crease function and let us know if it helps ?
 
Posts: 1068 | Location: Anglesey | Registered: Fri November 07 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Amabilis Support
Posted Hide Post
3DC exports vertex normals properly to X files. It's easy to show that it does. Try exporting a smooth and creased cube and then import them with Microsoft's X viewer program (mview.exe) that comes with the DirectX SDK.

I just tried it with a cube and sphere both creased and smooth and it worked fine.

Richard
 
Posts: 1411 | Registered: Thu November 06 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
The creasing doesn't help at all, I've tried it. I have also tried a lot of different material settings, but none seem to help.

This is the reply I got:
quote:
The way light is shaded on a surface depends on how the so called
'vertex-normals' are computed by the modeler and, in particular, whether
they are preserved when the model is finally exported to .x


Maybe the normals could be exported differently?

"Eat me! See if I care."
 
Posts: 118 | Location: Finland | Registered: Fri November 07 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Amabilis Support
Posted Hide Post
As I said, the normals appear to be exported correctly and that has been confirmed by the use of the Microsoft viewer. I would say that the final word on whether the normals are correctly exported or not would be Microsoft's since it is their format. Since their viewer shows them to be correct then they are very likely correct.

All I can suggest is that you get them (3impact) to indicate where there is a problem and why it is Microsoft's viewer shows the normals correctly.

Richard

[This message was edited by Amabilis Support on Thu February 05 2004 at 11:31 AM.]
 
Posts: 1411 | Registered: Thu November 06 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Amabilis Support
Posted Hide Post
Looking at your sample again I would suggest that you look at materials rather than normals. Try varying your materials to see if you can improve the appearance. If I recall correctly "diffuse" is not actually supported by the DirectX format. Try varying "Ambient" and perhaps "specualr" to see if makes any difference.

Richard
 
Posts: 1411 | Registered: Thu November 06 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
OK, I'll pass this information to them. But as I said above, the material settings do not seem to have any effect on the error. Frown Thanks anyway. I'll just keep on trying to find a solution. Smile

"Eat me! See if I care."
 
Posts: 118 | Location: Finland | Registered: Fri November 07 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
I also forgot say that this problem aplies for 3D Canvas only. So there must be something differently in 3DC's models than in the models from other modellers. They promised to look at problem, so I hope it gets fixed by them then. Smile

"Eat me! See if I care."
 
Posts: 118 | Location: Finland | Registered: Fri November 07 2003Reply With QuoteEdit or Delete MessageReport This Post
Newcomer
Posted Hide Post
I can confrim this.
THe best I've come is by setting diffuse to Zero.(Ambient seems to have no effect).

But the white shows in small corners still when the light is at the right angle to the model.
When I import the X model to MS3D an re-export it the problem is %100 fixed even with normal diffuse setting.

I've also tried creasing and any other material settings I could think of .

I think I even tested TS3.2 an no problem.
I really like using 3DC but, right now it's a pain to have to convert everything.

This new impact game-engine is new but it could be big,bigger than DBP(it has excellent physics), would you please get in touch with them and try to solve this problem Richard? It would be much appreciated.
 
Posts: 35 | Registered: Fri November 07 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
I also think this 3impact has great potential! It has wonderful built in physics and great graphical capabilites. Smile

"Eat me! See if I care."

[This message was edited by Timo on Fri February 06 2004 at 12:16 PM.]
 
Posts: 118 | Location: Finland | Registered: Fri November 07 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
Mogul, could you please tell what graphic card you have. It seems that this problem doesn't happen to everyone.

"Eat me! See if I care."
 
Posts: 118 | Location: Finland | Registered: Fri November 07 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Amabilis Support
Posted Hide Post
Mogul,

Can you send me a X file exported from 3D Canvas and the X file re-exported from MS3D so that I can compare and see what the differences are? The MS3D model would need to be in ASCII format for me to be able to compare. (support@amabilis.com)

Try to make it the simplest model possible.

Richard
 
Posts: 1411 | Registered: Thu November 06 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
I'll upload you some files from a 3DC user whose files work properly with 3impact. Smile

"Eat me! See if I care."
 
Posts: 118 | Location: Finland | Registered: Fri November 07 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
The problem is solved! (I hope) The problem happens when specularity is set 0 in 3D Canvas. I'm sure I checked that, but I it seems I didn't, or then I messed up something else. Sorry, my fault. Frown

"Eat me! See if I care."
 
Posts: 118 | Location: Finland | Registered: Fri November 07 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
The developer of 3impact said that even shouldn't be happening, so there is anyway something wrong.

"Eat me! See if I care."
 
Posts: 118 | Location: Finland | Registered: Fri November 07 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Amabilis Support
Posted Hide Post
I can guess as to the cause. 3D Canvas exports white (1,1,1) as the specular color and 0 as the power (amount) of specular effect when "specular=0". I would guess that 3impact is not applying the specular power when it is 0 and is just applying the specular color. But that is just a guess.

I had a look at an export and the specular value looks right to me.

Richard
 
Posts: 1411 | Registered: Thu November 06 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
Just to let you know that this has now been fixed. Smile

"Eat me! See if I care."
 
Posts: 118 | Location: Finland | Registered: Fri November 07 2003Reply With QuoteEdit or Delete MessageReport This Post
Newcomer
Posted Hide Post
sorry been away for a while.

Timo, I'm not so sure about that.

I need to double check but I think I still see white in the corners.

I'll send those files asap anyhow.
 
Posts: 35 | Registered: Fri November 07 2003Reply With QuoteEdit or Delete MessageReport This Post
Newcomer
Posted Hide Post
It does look like its fixed now.
 
Posts: 35 | Registered: Fri November 07 2003Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

Amabilis Software    3D Canvas Community    3D Canvas Discussion Forums  Hop To Forum Categories  Game Development    exporting vertex-normals?

© Amabilis Software 2003-2007