Drawing a Spherical Mesh
01-20-2014, 09:47 PM
Post: #2
 Han Senior Member Posts: 1,882 Joined: Dec 2013
RE: Drawing a Spherical Mesh
You can always insert a debug() statement into your program to determine if the HP Prime fails after a certain number of recursions.

Code:
if div<4 then debug(); end;

You can also insert a debug() statement right after the triangle command and then abort the program. Then, at the command line, type:

Code:
blit_p(G0,G1); freeze;

This will allow you to see if your code is drawing each triangle like you want. You can even skip debugging and just put:

Code:
blit_p(G0,G1); WAIT(-1);

to see it draw each individual triangle (press a key to continue).

Graph 3D | QPI | SolveSys
 « Next Oldest | Next Newest »

 Messages In This Thread Drawing a Spherical Mesh - jgreenb2 - 01-20-2014, 08:07 PM RE: Drawing a Spherical Mesh - Han - 01-20-2014 09:47 PM RE: Drawing a Spherical Mesh - jgreenb2 - 01-20-2014, 09:58 PM RE: Drawing a Spherical Mesh - cyrille de brébisson - 01-20-2014, 10:27 PM RE: Drawing a Spherical Mesh - jgreenb2 - 01-21-2014, 12:15 AM RE: Drawing a Spherical Mesh - patrice - 01-21-2014, 01:08 AM RE: Drawing a Spherical Mesh - patrice - 01-23-2014, 10:11 PM

User(s) browsing this thread: 1 Guest(s)