terrian not loading in WED

Posted By: dc_domo

terrian not loading in WED - 03/23/11 02:43

Hey guys, I just started using 3dgs and having trouble with the terrian. i read the manual but nothing on how to fix my problem. I made a terrian in MED then right clicked in WED and clicked add terrian. Here it is:

http://img651.imageshack.us/i/terrian.png/


even though it shows in the four boxes it dont show when i build and run it. is it not suppose to show or am i doing something wrong? thanks in advanced

btw im just playing around with it to get the hang of it this is nothing serious.
Posted By: rvL_eXile

Re: terrian not loading in WED - 03/23/11 02:46

do you created a "Position" on the Terrain? Maybe the Camera is to far away from Terrain, so it won't be rendered.

regards Sebastian
Posted By: dc_domo

Re: terrian not loading in WED - 03/23/11 04:57

I thought the same so i created a quick level and added the terrain but it is still out of the picture.

http://img716.imageshack.us/i/terrainkm.png/

yes i saved, built, then ran but i still cannot see it.
Posted By: Superku

Re: terrian not loading in WED - 03/23/11 13:11

Open Skin Settings and check 24bit under Texture Format, it could be that you've accidently created an empty alpha channel.
Posted By: dc_domo

Re: terrian not loading in WED - 03/23/11 15:28

just tried, 24bit is checked and the alpha box is grey so i cant bother it.
Posted By: dc_domo

Re: terrian not loading in WED - 03/25/11 15:20

anyone? still cant seem to get it loaded in WED
Posted By: Superku

Re: terrian not loading in WED - 03/25/11 22:38

Code:
action terrain_test() {
	
	// you need to adjust max_particles before your level_load
	// command to display all vertices and avoid flickering

	set(my,INVISIBLE);

	while(1) {

		var i;
		
		for(i = 1; i <= ent_status(my,1); i++) {
			
			CONTACT* c = ent_getvertex(my,NULL,i);
			draw_point3d(c.x,COLOR_WHITE,50,10);
			
		}
		
		wait(1);
	}

}


Try the code above. It should display all terrain's vertices.
Posted By: TerraSame

Re: terrian not loading in WED - 03/26/11 05:49

I suppose your terrain is located to high and you see nothing because when you start, your camera is located buried under the terrain. If that's the case, you would see nothing because the terrain normals are above your camera. Try lowering your terrain in one of the bottom boxes in wed. Next, when you are looking at the terrain in MED, if you click "Model Preview" under the "File" Tab do you see the terrain properly? The guys above refering to the scale is a definate possability. But... if you scale the terrain you should do it in MED not WED. There are a few reasons for this. First, because when you scale a terrain in WED the terrain will most likely be to high as I mentioned and secondly because in A8 a terrain must be scaled in Med and have a scale of 1-to-1 in WED so the Physics will work and you wont fall through the terrain. Actually, what I suggest, is that you visit the Mystymood site and download their Lite-C version of their demo. Then, experiment. You will be able to look at their terrain and code etc... Then you can put your terrain in and then diagnos your terrain problem....
Here is a link to there web site:
http://www.loopix-project.com/
Click on "Easy" Then "Templates".... find the Lite-C version and download...
Open the project in wed and start playing....
Have fun and good luck...
© 2023 lite-C Forums