F5 rendering is often incomplete however F6 is correct but missing stuff in F5 makes # and % operations impossible in lion

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

F5 rendering is often incomplete however F6 is correct but missing stuff in F5 makes # and % operations impossible in lion

terramir
when making structures for 3D printing making various holes can be
quite important in order for the objects to now warp during printing,
however while making the models and trying to visulize certain holes
etc F5 rendering fails so display components. Interestingly this only
happens in lion with my laptop and hd3000 graphics but with a gt220 on
my main snow 10.6.6 it doesn't niether does this behavior replicate in
windows with this particular code. however I have seen this happen on
windows and 10.6.6. with other models
For example when you plug in this code:

module rail()
{
difference() {
union(){
cube([160,15,15]);
translate([160,7.5,7.5]) rotate ([0,90,0]) cylinder (r=5, h=25);
}
#translate ([25,5,-1]) cube([20,5,4]);
#translate ([60,5,-1]) cube([20,5,4]);
#translate ([95,5,-1]) cube([20,5,4]);
#translate ([130,5,-1]) cube([20,5,4]);
#translate([-2,7.5,7.5]) rotate([0,90,0])cylinder(r=5, h=146);
#translate([-1,0,15]) rotate([0,90,0]) cylinder(r=1.5, h=162);
#translate([-1,15,15]) rotate([0,90,0]) cylinder(r=1.5, h=162);
#translate([-1,0,0]) rotate([0,90,0]) cylinder(r=1.5, h=162);
#translate([-1,15,0]) rotate([0,90,0]) cylinder(r=1.5, h=162);
}
}
rail();
translate([0,30,0]) rail();

just thought you should know that the rendering seems kinda incomplete at times
terramir

Reply | Threaded
Open this post in threaded view
|

Re: F5 rendering is often incomplete however F6 is correct but missing stuff in F5 makes # and % operations impossible in lion

kintel
Administrator
Hi,

What you're describing are two separate issues, which are both related to OpenGL driver issues which triggers under Mac OS X Lion on Intel graphics cards:
https://github.com/openscad/openscad/issues/65
https://github.com/openscad/openscad/issues/71
 
One of the problems can be improved by checking the "Force Goldberg" checkbox in Preferences->Advanced.

 -Marius


Reply | Threaded
Open this post in threaded view
|

Re: F5 rendering is often incomplete however F6 is correct but missing stuff in F5 makes # and % operations impossible in lion

Reinoud
In reply to this post by terramir
Hi Terramir,

On Mon, Jun 04, 2012 at 11:05:00AM -0700, r.d. terramir wrote:

> when making structures for 3D printing making various holes can be
> quite important in order for the objects to now warp during printing,
> however while making the models and trying to visulize certain holes
> etc F5 rendering fails so display components. Interestingly this only
> happens in lion with my laptop and hd3000 graphics but with a gt220 on
> my main snow 10.6.6 it doesn't niether does this behavior replicate in
> windows with this particular code. however I have seen this happen on
> windows and 10.6.6. with other models
> For example when you plug in this code:
>
> module rail()
> {
> difference() {
> union(){
> cube([160,15,15]);
> translate([160,7.5,7.5]) rotate ([0,90,0]) cylinder (r=5, h=25);
....

> rail();
> translate([0,30,0]) rail();

I've encountered this problem before. Its the render algorithm going wrong.
What could be an option is to use the explicit render() primitive that forces
parts to be rendered with OpenCSG.

With regards,
Reinoud


Reply | Threaded
Open this post in threaded view
|

Re: F5 rendering is often incomplete however F6 is correct but missing stuff in F5 makes # and % operations impossible in lion

Triffid Hunter
On Wed, Jun 6, 2012 at 9:09 PM, Reinoud Zandijk <[hidden email]> wrote:
forces
parts to be rendered with OpenCSG.

pretty sure you mean CGAL there :)

If I recall correctly, OpenCSG does the F5 display-only render, CGAL makes the exportable mesh on F6 which takes lots longer because it's making a real mesh instead of employing dirty opengl tricks