Now, i know i have been posting alot of these topics :oP So, this should be the last one i reckon!
Now, when i create a blitz object, like a sphere or cube, do they have brushes automatically assigned to them? Because when i use getsurface() then getsurfacebrush(), it returns a number. Surely if the surface had no brush, it would return 0?
If you don't have blitz3d, this returns two different numbers for the brushes. So, surely that suggests every blitz entity has a brush?
Futhermore, i need help on telling the difference between a surface brush and an entity brush. When it comes to saving, i don't really seem to know what brush to give as an entity brush and what brush to give as a surface brush...
Can anyone shed some light on this? Please? :o)
Now, when i create a blitz object, like a sphere or cube, do they have brushes automatically assigned to them? Because when i use getsurface() then getsurfacebrush(), it returns a number. Surely if the surface had no brush, it would return 0?
Graphics3D 800,600 SetBuffer BackBuffer() cam = CreateCamera() s = CreateSphere() surf = GetSurface(s,1) brush = GetSurfaceBrush(surf) c = CreateCube() surf1 = GetSurface(c,1) brush1 = GetSurfaceBrush(surf1) While Not KeyHit(1) UpdateWorld RenderWorld Text 0,0,"surface brush0 = "+brush Text 0,20,"surface brush1 = "+brush1 Flip Wend End
If you don't have blitz3d, this returns two different numbers for the brushes. So, surely that suggests every blitz entity has a brush?
Futhermore, i need help on telling the difference between a surface brush and an entity brush. When it comes to saving, i don't really seem to know what brush to give as an entity brush and what brush to give as a surface brush...
Can anyone shed some light on this? Please? :o)