Opened 12 years ago

Closed 12 years ago

#8 closed defect (fixed)

Slow rendering without lighting

Reported by: Tom Goddard Owned by: Tom Goddard
Priority: minor Milestone:
Component: Retired Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: chimera

Description

Rendering time drops from 2000 frames/second to 20 frames/second when lighting is turned off showing EMD 1080 surface, single color.

Change History (2)

comment:1 by Tom Goddard, 12 years ago

Problem appears to be that the vertex color shader variable is not being fed with an array -- instead it is assigned a single value, and it has shader attribute id 0, (with position having id 1). When lighting is enabled it is still not fed with an array but the attribute id is 1 (normals gets id 0, vertex color id 1, position id 2).

This is with Mac OS 10.8.5, nvidia Geforce GTX 680MX.

Probably I should use a uniform color variable for single color rendering.

comment:2 by Tom Goddard, 12 years ago

Resolution: fixed
Status: newclosed

Fixed. Used uniform color variable for single color rendering.

Note: See TracTickets for help on using tickets.