Ticket #949 (closed defect: wontfix)

Opened 5 years ago

Last modified 6 months ago

Fix texcoords, normals, and tangents in examples/blocks.py

Reported by: ArcRiley Owned by: SaraKazemi
Priority: Medium Milestone: beta3
Component: Examples Version: Trunk
Keywords: Cc:

Description

Merge the new bump code into blocks.py, make it generic for which two textures are used (both black and color), and verify this is working with the normals map demo rotating in 3d with all the faces looking correct.

If a bug in the dot3 (normal map) code is found, open a ticket with specifics

Change History

comment:1 Changed 5 years ago by JasonWard

  • Status changed from new to closed
  • Resolution set to fixed

comment:2 Changed 5 years ago by ArcRiley

  • Status changed from closed to reopened
  • Resolution fixed deleted

Nothing was done to correct texcoords or tangents.

Line 58 and 59 (of [1201]) need to be modified so that these values are calculated rather than incorrectly copied from other values or set statically.

Tangents, for example, must be 90 degrees from the light normal in the "up" direction of the dot3 texture. The texcoords being incorrect causes the lines on four faces of the TexBlocks?.py "Marble" cube. When correct all four sides should look identical.

comment:3 Changed 2 years ago by SaraKazemi

  • Owner set to SaraKazemi
  • Status changed from reopened to new

comment:4 Changed 2 years ago by SaraKazemi

  • Status changed from new to assigned

comment:5 Changed 6 months ago by ArcRiley

  • Status changed from assigned to closed
  • Resolution set to wontfix

examples/blocks.py is being replaced by soy.bodies.Box

Note: See TracTickets for help on using tickets.