A switch to stop SheetNode updating every frame

Registered by Jan Brohl

SheetNode is corrently not very useful as it consumes to much resources updating every frame so there should be a switch to stop auto-updating. See also: http://www.panda3d.org/phpbb2/viewtopic.php?t=8507

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Jan Brohl

Related branches

Sprints

Whiteboard

I just started learning C++ and looked into sheetNode.cxx to find out how to make it not evaluate the surface each frame - as far as i understand SheetNode::cull_callback is the function i'd have to modify.

Putting in a counter to make it refresh each x calls by counting down in cull_callback and only refreshing when 0 is reached which should be no the siplest solution but I dont find the place to put the variables (class attribs) and the methods to change the refresh-interval.

Parametric surfaces shoud propably be rendered to screen using vertex/geometry shaders to get good performance so this seems obsolete.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.