Pixelated lighting

Previous topic - Next topic

MrTAToad

As you can see from the picture, the lighting creates a rather pixelated effect, which is not desirable.

I tried increasing the number of triangles but that didn't help - would increasing the texture size help ?

[attachment deleted by admin]

erico

Mr Tatoad, I don´t believe the texture size is the problem.

It may have something to do with your light position, try getting it further away from the object.
It seems to me I get this kind of behavior when light is too close to the object, or inside it.

Hatonastick

Shadow issues aside, that looks cool. :)
Mat. 5: 14 - 16

Android: Toshiba Thrive Tablet (3.2), Samsung Galaxy Tab 2 (4.1.2).
Netbook: Samsung N150+ Netbook (Win 7 32-bit + Ubuntu 11.10).
Desktop: Intel i5 Desktop with NVIDIA GeForce GTX 460 (Win 8.1 64-bit).

MrTAToad

Thanks!

I'll try moving it away then...

Kitty Hello

flat shaded surfaces? (Flat normal vectors?)

MrTAToad

Flat shaded surfaces (I presume) - at least thats the option selected in AC3D's texture coordinator :)

I do notice the shadow demo also has the same problem too (although as the objects there are somewhat smaller, it's not so noticeable).

erico

yep thinking better about it kitty must be right, it is similar to those images I poster here:
http://www.glbasic.com/forum/index.php?topic=6861.msg55521#msg55521

where shadows on the flat surface is just what you have there.

MrTAToad

Yes, that sounds similar, in which case Gernot will need to update the 3D system :)

erico

Now I don´t get it,
I think you are suppose to use smooth shaded surfaces/normals for proper results.
I also understand that if you load an external object, it comes with smooth surfaces automatic.

MrTAToad

From reading that, I took it that there was no automatic smoothing...

Kitty Hello

auto-normals is a feature for user-generated obejcts. Imports are just he way you design then. In AC3D, that's Opbejct properties/crease angle

erico

 :offtopic:does it mean it I convert an object from OBJ or blender to DDD, lets say a ball, and have it half smooth, half sharp it will get through?

MrTAToad

I've tried different crease angles, but none seemed to make a difference :



[attachment deleted by admin]

erico

Did you try out messing light position and angle of vision(my guess you did)?
What type of light are you using? Normal or shadow stuff?

Kitty Hello

can you post the sphere object?