|
Re: Crash! With a view entity
[Re: Rackscha]
#438660
03/19/14 17:53
03/19/14 17:53
|
Joined: Jan 2002
Posts: 4,225 Germany / Essen
Uhrwerk
Expert
|
Expert
Joined: Jan 2002
Posts: 4,225
Germany / Essen
|
you need to wait one frame after level loading which is an odd design Which is just nonsense. Please stop spreading misinformation like that.
Always learn from history, to be sure you make the same mistakes again...
|
|
|
Re: Crash! With a view entity
[Re: Uhrwerk]
#438663
03/19/14 19:01
03/19/14 19:01
|
Joined: Dec 2008
Posts: 1,218 Germany
Rackscha
Serious User
|
Serious User
Joined: Dec 2008
Posts: 1,218
Germany
|
you need to wait one frame after level loading which is an odd design Which is just nonsense. Please stop spreading misinformation like that. yes you're right, i had something similar in mind, which is really wrong o.O.
MY Website with news of my projects: (for example my current Muliplayer Bomberman, GenesisPrecompiler for LiteC and TileMaster, an easy to use Tile editor) Sparetime-Development
|
|
|
Re: Crash! With a view entity
[Re: Uhrwerk]
#438670
03/19/14 20:37
03/19/14 20:37
|
Joined: Feb 2012
Posts: 371
Dico
Senior Member
|
Senior Member
Joined: Feb 2012
Posts: 371
|
you need to wait one frame after level loading which is an odd design Which is just nonsense. Please stop spreading misinformation like that. Hh ,man , i think if we put every day like this problems, the android plugin not came in this year
|
|
|
Re: Crash! With a view entity
[Re: jcl]
#438733
03/20/14 16:34
03/20/14 16:34
|
Joined: Sep 2003
Posts: 6,861 Kiel (Germany)
Superku
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
|
@rojart: I'm not completely sure that we are talking about the same thing. I'm not using a second uv set but just set some faces to different materials/ skins than others. Most of the time I do not need to assign textures because I just color things dynamically or use a few global bitmaps to give those parts a metal or glass effect and the like. Assigning textures would not have any advantages. A working example can be found here: http://opserver.de/pwik7/index.php?title=Ent_mtlset
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual Check out my new game: Pogostuck: Rage With Your Friends
|
|
|
Re: Crash! With a view entity
[Re: Superku]
#438742
03/20/14 20:09
03/20/14 20:09
|
Joined: Oct 2004
Posts: 900 Lgh
rojart
User
|
User
Joined: Oct 2004
Posts: 900
Lgh
|
Yes, you're right it works without Texture checked, but i think this happens if you use d3d_antialias function, maybe a bug!
If you try without the d3d_antialias function, your model will work.
Sorry for misleading claims about second Texture not checked.
EDIT: No, it's not d3d_antialias, the same happens if you try with video_mode, sorry!
Last edited by rojart; 03/20/14 20:32. Reason: d3d_antialias
|
|
|
Re: Crash! With a view entity
[Re: rojart]
#438743
03/20/14 20:54
03/20/14 20:54
|
Joined: Oct 2004
Posts: 900 Lgh
rojart
User
|
User
Joined: Oct 2004
Posts: 900
Lgh
|
Ok, starting to check the whole code and here my results:
If i change the "var i,j,k,l,m,t,isteps;" to "int i,j,k,l,m,t,isteps;" should works.
I noticed also, if we uncomment this line "if(you == NULL) error("AAA"); // <- hier" will only works with "var i,j,k,l,m,t,isteps;" But "int i,j,k,l,m,t,isteps;" will only works with "if(!you) error("AAA"); // <- hier"
Last edited by rojart; 03/20/14 21:10. Reason: int & if(!you)
|
|
|
|