Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - lesinhorini

Pages: [1]
Support / Reflection issue
« on: July 07, 2017, 11:06:19 pm »
I'm having a unspected reflection over my objects (mall.jpg). I would like a light more flat over all objects, keeping a same pattern.

The mall was drawed from a .OBJ file.

Follow below the code where I configure ambient light and a Light.

Code: [Select]
        world = new World();
        world.setAmbientLight(170, 170, 170);

        light = new Light(world);
        light.setIntensity(252, 252, 252);

        // Positioning the light
        SimpleVector sv = new SimpleVector();
        sv.y -= 90;
        sv.z -= 90;

Pages: [1]