- Forums
- Forum Help
- Search Forum
- Login
- Register
Truevision3D
>>
Projects
>>
In-Development
(Moderators:
Waterman
,
Mithrandir_
,
beyonder
,
ZaPPZion
) >>
AddWall3D for door problem !!!
Pages: [
1
]
« previous
next »
Print
Author
Topic: AddWall3D for door problem !!! (Read 955 times)
harikumar001
Customers
Community Member
Posts: 65
AddWall3D for door problem !!!
«
on:
October 05, 2010, 11:52:07 PM »
Hey Guys,
Hope u r having a nice day.
I am getting different results on different machines running my application. My application allows users to place doors on walls. To create doors and walls, I use the AddWall3D function. I place the door inside the wall mesh and apply texture.
While testing my application on different systems, I find that on some machines the door is displayed and on some it isn't. To reconfirm I commented the code which draws the wall so that only doors are drawn. Still no success, the doors are not drawn.
I double checked and the AddWall3D for the door is getting called. I cant find the reason why it is now shown on some machines. Any guess where I must have made a mistake?
Regards
Logged
asia
Customers
Community Member
Posts: 183
Re: AddWall3D for door problem !!!
«
Reply #1 on:
October 06, 2010, 01:08:06 AM »
I think you should show same code otherwise we can not help...
Logged
Fabio Musmeci
ENEA
CR Casaccia
Via Anguillarese 301
00060 Rome
Italy
musmeci@enea.it
+39 3333934898
Learning to live better on a smaller footprint..
serial
Customers
Community Member
Posts: 380
Re: AddWall3D for door problem !!!
«
Reply #2 on:
October 06, 2010, 03:33:17 AM »
Look in the debug file to see if the texture you are applying to the door is actually being loaded.
Logged
harikumar001
Customers
Community Member
Posts: 65
Re: AddWall3D for door problem !!!
«
Reply #3 on:
October 07, 2010, 04:40:30 AM »
Thanks for your replies
asia
and
serial
After spending a lot of time playing and adjusting different settings I found that the line door.ComputeNormals() which was placed after door.SetLightingMode(...) was causing the problem. I placed SetLightingMode after the ComputeNormals line and I can see the door.
It is funny that it worked perfectly on some other machines.
Regards
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Truevision3D Official Information
-----------------------------
=> Development Information
-----------------------------
TV3D SDK
-----------------------------
=> TV3D SDK 6.3
===> Bugs
-----------------------------
Game Development
-----------------------------
=> Game Development
-----------------------------
Projects
-----------------------------
=> In-Development
=> Showcase
=> Recruitment
=> Announcements
-----------------------------
Truevision3D Official Information
-----------------------------
=> News and Announcements
-----------------------------
TV3D SDK
-----------------------------
=> TV3D SDK 6.5
-----------------------------
Game Development
-----------------------------
=> Engine Comparison
-----------------------------
TV3D SDK
-----------------------------
===> Shader Development
===> Content Pipeline
===> Bugs
-----------------------------
Game Development
-----------------------------
=> Companion Tools
=> Design and Theory
Powered by SMF 1.1.3
|
SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks