onRender callback must be set after getShaderStr
Reported by Andor Salga | July 19th, 2011 @ 04:58 PM | in 0.8 (closed)
If the onRender callback is set before getShaderStr() calls, nothing will render.
Comments and changes to this ticket
-
Andor Salga July 19th, 2011 @ 05:29 PM
- Milestone changed from 0.75 to 0.8
- Milestone order changed from 24 to 0
-
Andor Salga September 12th, 2011 @ 05:00 PM
- State changed from assigned to staged
- Milestone order changed from 18 to 0
The problem was the script was trying to set uniform variables which didn't exist in the built-in shader. The assertions in the library were checking against -1, but the spec now uses null for getUniformLocation.
Branch: https://github.com/asalga/XB-PointStream/tree/bug162
Test: tests/user_shader -
Andor Salga October 24th, 2011 @ 08:11 PM
- State changed from staged to checked-in
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
<b>XB PointStream</b> (working name)
A cross-browser JavaScript tool which will emulate Arius3D's PointStream viewer. It will be able to quickly render a large amount of point cloud data to the <canvas> tag using WebGL.<br />
Current release <a href="http://scotland.proximity.on.ca/asalga/releases/0.8/xbps-min-0.8.zip">XBPS 0.8</a>