[project1dev] Re: roads - ugh

  • From: Alan Wolfe <alan.wolfe@xxxxxxxxx>
  • To: project1dev@xxxxxxxxxxxxx
  • Date: Sun, 13 Jun 2010 10:19:05 -0700

i cant think of anything right now :/

but hey something weird... i switched the roads to just being simple
geometry (1 rectangle for the horizontal piece and one for the vertical
piece) and it still is slow.

I'm going to try something to speed things up and if it works we may be ok
with the decal roads again.

Basically every time you draw a 3d model you tell it the properties to
render it with like parameters to the shaders and stuff like that.

i've heard that if you group objects that have the same properties together
and only set them before you start rendering the whole group that it can
save a lot of processing time.

so gonna give that a try

On Sun, Jun 13, 2010 at 12:12 AM, Kent Petersen <kentkmp@xxxxxxxxx> wrote:

> sucks man. Anything I can do to help?
>
>
> On Sat, Jun 12, 2010 at 11:41 PM, Alan Wolfe <alan.wolfe@xxxxxxxxx> wrote:
>
>> My plan of making roads from decals just isn't workin out unfortunately ):
>>
>> I've been spending a ton of time on it and just keep hitting new problems
>> and its bein a real pain.
>>
>> On top of all the problems, it isn't really rendering as fast as i hoped
>> it would!
>>
>> I'm thinking now that a better idea might be to use actual geometry for
>> the roads instead of just a texture.
>>
>> If we use pre-built models that would mean we had to make all the
>> "buildable areas" flat so that we could put down flat road geometry.
>>
>> We might be able to procedurally generate the road models to fit the
>> terrain, but dunno...
>>
>> it's kinda "back to the drawing board" for the roads i think.  it's a
>> bummer!
>>
>>
>>
>

Other related posts: