Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, 1 invisible), 18,731 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
level_load a model #189825
03/21/08 18:50
03/21/08 18:50
Joined: Jun 2007
Posts: 43
Montréal
J
Julientdc Offline OP
Newbie
Julientdc  Offline OP
Newbie
J

Joined: Jun 2007
Posts: 43
Montréal
Hey,

I try to load a .x model with level_load. I have created the model with wings 3D. Why the background color is blue and my model is white?

I have tried to do that "vec_set(screen_color,vector(0,0,0));" but no effect on the background.

The rendering on my screen:
[image]http://img363.imageshack.us/my.php?image=stationvc8.jpg[/image]

Thank you,
JUlien

Last edited by Julientdc; 03/21/08 18:52.
Re: level_load a model [Re: Julientdc] #189826
03/21/08 19:46
03/21/08 19:46
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline
Serious User
croman  Offline
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
try not puting nulls in screen color and try with sky_color. your .x file is maybe white because it doesn't have textures or...take microsoft directx model viewer (you ahve it with DX SDK) and if model is loaded properly it is fully .x file. i can't explain that but that's how i know. i had this kind of issue with irrlicht and .x file and I was advised to use that method.

hope i've been helpfull to you.



Ubi bene, ibi Patria.
Re: level_load a model [Re: croman] #189827
03/21/08 19:51
03/21/08 19:51
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
vec_set(screen_color,vector(0,1,0)); -> this will make screen black, bu i dont know about white .x models


3333333333
Re: level_load a model [Re: Quad] #189828
03/21/08 21:07
03/21/08 21:07
Joined: Jun 2007
Posts: 43
Montréal
J
Julientdc Offline OP
Newbie
Julientdc  Offline OP
Newbie
J

Joined: Jun 2007
Posts: 43
Montréal
Thank you, the background work with vec_set(sky_color,vector(0,0,0));.

And I have fixed the model color


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1