Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / use sprite's for grass in 3d?...

Author
Message
Tiasen
23
Years of Service
User Offline
Joined: 26th May 2003
Location:
Posted: 7th Jun 2003 17:03
hi all...

Is it possible to use sprite's for grass in 3d??...

I mean if you look at Deltaforce one or two...

cus if you use plains ig get's to slow...
and some one I know suggested that I should use sprites..
but I can't get a z depth on it...

does any one know any other way to make grass kinda like deltaforce?

thank's //Mathias
xtom
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Ireland
Posted: 8th Jun 2003 00:09
Sprites stay flat to the screen, they're 2d and wouldn't work as 3d grass. I think plains would be the way to go but use them sparingly or create a solid block of grass with a scrolling grass texture on the top maybe kinda like in zelda 64. Personally I'd just texture the ground and add a few bushes as plains or something instead of having lots of 3d grass.
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 8th Jun 2003 00:27
Use textured plains instead. Texture the plain with the grass image (grass blades with a black background), SET OBJECT TRANSPARENCY object,1 and possibly rotate the plains to face the viewer.

Do you want Windows menus in your DBP apps? - Get my plugin: http://snow.prohosting.com/~clone99/downloads/tpc_menus_102.zip
Andy Igoe
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United Kingdom
Posted: 8th Jun 2003 07:00
One word: "Dynamicism"
Now several paragraphs explaining it

How many grass objects on your map to get it nice and dense? 3000, 4000? Way to much to display...

too much to "display", now there's a word... how many are you actually "displaying"? 50, 100? Now that's not too many objects.

So have 50/100 objects, and re-use them based upon their range or whether they are onscreen.

How you go about doing this and organising your data is very much down to your world design, object design, and game structure. Personally I create about 50 'high poly' grasses, and 100 or so low poly ones - and organise my data by region, area, item in a 3 dimensional array so when I check range for a region I dont have to check each grass - just all in that region.

Pneumatic Dryll

Login to post a reply

Server time is: 2026-07-11 11:42:40
Your offset time is: 2026-07-11 11:42:40