Forums > Jitter

draw_piwels replacement for background drawing

Jun 21 2012 | 7:54 am


I’m really lost here and can’t seem to get the logic of what I want to do.
It seems that in MAX6 the draw_piwels command to the doesn’t function anymore.

It’ like to have a static gradient background that doesn’t move along when I move the/flip/rotate the camera of my scene.

I think thi scan be done by using and to render the ‘in front’ objects and use a different to render a static fixed position in the back

However, I simply can’t get it to work and have a few problems when trying, like textures not rendering and so on.

Any one can shed some light on this?

thx in advance

-- Pasted Max Patch, click to expand. --

Jun 21 2012 | 6:39 pm

hello. to draw a background layer, simply use a @transform_reset 2.
you may also want to set @depth_enable 0, or set the @layer to some low negative value, causing it to draw first.

Jun 22 2012 | 7:13 am

Thanx Robert,

so using nodes is not an option here?



Jun 22 2012 | 4:46 pm

i’m not sure why you think that. you can use and together.

Viewing 4 posts - 1 through 4 (of 4 total)

Forums > Jitter