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
1 registered members (TipmyPip), 18,449 guests, and 6 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
Page 2 of 2 1 2
Re: help! models are disappearing... [Re: jpxtreme] #348609
11/28/10 16:04
11/28/10 16:04
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
Too see if there is a problem with your sky block, set ZNEAR to your car.
And do you use Mystymood? I got one problem with it too, but a long time ago...
Make your camera turn around the car, so when it disappears again, turn around and look on it from the different angles.
And does your game continue when car disappears?


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: help! models are disappearing... [Re: 3run] #348611
11/28/10 16:12
11/28/10 16:12
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Quote:
I guess this is the point. The origin of the road now is closer to the camera, and so the road is rendered before the car.


That's only valid if he has changed d3d_entsort, because untransparent models write into the Z-Buffer. (Could be wrong, though.)

Last edited by Superku; 11/28/10 16:13.

"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: help! models are disappearing... [Re: jpxtreme] #348612
11/28/10 16:16
11/28/10 16:16
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
Originally Posted By: jpxtreme
@painkiller

Please help me. How did you solved it?


I don't remember, I remember that I put camera.clip_far to a very high value and the problem dissapeared, but after I put camera.clip_far lower than the default one and the car didn't dissapear, I don't know why that happened.


3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: help! models are disappearing... [Re: 3run] #348654
11/29/10 01:24
11/29/10 01:24
Joined: Aug 2008
Posts: 81
J
jpxtreme Offline OP
Junior Member
jpxtreme  Offline OP
Junior Member
J

Joined: Aug 2008
Posts: 81
yes I'm using mystymood for my weather effects. If i rotate my camera around the car there is some point that it will appear again. The game still continues, it's like an invisible car.

Re: help! models are disappearing... [Re: jpxtreme] #348686
11/29/10 15:34
11/29/10 15:34
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
I had that problem at once, but that was so long time ago.
Try to play with 'fog_start' and 'fog_end', increase them. I guess that helped me back then...
I guess you better connect with the creator of Mystymood.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: help! models are disappearing... [Re: 3run] #348798
11/30/10 19:49
11/30/10 19:49
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
What are the xyz coordinates of the camera when the car disappears? What are the xyz coordinates of the car when it disappears?

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: help! models are disappearing... [Re: JibbSmart] #348813
11/30/10 21:24
11/30/10 21:24
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline

3D Artist
rvL_eXile  Offline

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
In my Opinion its the wrong Z-Buffer effect like Superku said.
Add this material at your Car and the enviroment to test it out wheater its really the Z Buffer...

Material: (A6 FFP Effect)
Code:
function mtl_vegetation_init
{
	vec_set(mtl.emissive_blue,mat_model.emissive_blue);
	vec_set(mtl.ambient_blue,mat_model.ambient_blue);
	vec_set(mtl.diffuse_blue,mat_model.diffuse_blue);
	vec_set(mtl.specular_blue,mat_model.specular_blue);
	mtl.power=mat_model.power;
	mtl.albedo=mat_model.albedo;
	mtl.skill1=pixel_for_vec(vector(128,0,0),0,8888); // the first value in the vector is the threshold
}

material mtl_vegetation
{
	event=mtl_vegetation_init;
	effect=
	"
	texture entSkin1;
	dword mtlSkill1;

	technique vegetation
	{
		pass p0
		{
			Texture[0]=<entSkin1>;
			ZWriteEnable=True;
			AlphaBlendEnable=False;
			AlphaTestEnable=True;
			AlphaRef=<mtlSkill1>;
			AlphaFunc=Greater;
			CullMode=CCW; // CCW or None

			ColorArg1[0]=Texture;
			ColorOp[0]=Modulate2X;
			ColorArg2[0]=Diffuse;
		}
	}
	technique fallback{pass p0{}}
	";
}

action vegetation
{
	my.transparent=off;
	my.flare=off;
	my.material=mtl_vegetation;
}



Add the lines from "Action Vegetation" into the action of your car / enviroment.

Hope this helps.

cYa Sebastian


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Re: help! models are disappearing... [Re: Pappenheimer] #349115
12/04/10 03:20
12/04/10 03:20
Joined: Aug 2008
Posts: 482
B
bart_the_13th Offline
Senior Member
bart_the_13th  Offline
Senior Member
B

Joined: Aug 2008
Posts: 482
And what this has to do with "the editors". More like "the engine" grin
Whatever...
How about the car origin?, is it centered(since you have no problem with car handling I pressume it is centered)

Well, if your car always visible, try ZNEAR as 3run said. However, the rain bothers me, it looks like it's a layer of sprite put in front of the camera.
I never use MystyMood, but try to disable it and see what happen.

Last edited by bart_the_13th; 12/04/10 03:21.
Re: help! models are disappearing... [Re: bart_the_13th] #349124
12/04/10 07:30
12/04/10 07:30
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
Problem with Mystymood I'm sure, not with it's code but with adapting it to your project dude (with size of your level may be). And back then when I had the same problem with it, I think I've fixed it by increasing 'fog_end'...


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Page 2 of 2 1 2

Moderated by  HeelX, rvL_eXile 

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