Mon, 12/30/2013 - 22:33
Forums:
Hi All,
I am trying to see what the new Raytracing feature looks like but I am unable to get it to work. As suggested on the forum I am running the bottle.tcl script in draw.
I did not rebuild OCC but am using the pre-compiled binaries that came with the installer. Running Windows 7 x64 with a Quadro 1000m
Hint: use "pload ALL" command to load standard commands
Draw[1]> pload ALL
1
Draw[2]> source samples/tcl/bottle.tcl
Constructing bottle body...
Constructing threading...
Putting together and writing "Open CASCADE"...
Showing result...
Trying raytrace mode...
TKOpenGl | Type: Error | ID: 0 | Severity: High | Message:
float aDdotD = dot (theRay->Direct.xyz, theRay->Direct.xyz);
^~~
double __OVERLOADABLE__ dot(double4 p0, double4 p1);
^
double __OVERLOADABLE__ dot(double2 p0, double2 p1);
^
double __OVERLOADABLE__ dot(double p0, double p1);
^
float __OVERLOADABLE__ dot(float4 p0, float4 p1);
^
float __OVERLOADABLE__ dot(float2 p0, float2 p1);
^
float __OVERLOADABLE__ dot(float p0, float p1);
^
float aDdotO = dot (theRay->Direct.xyz, theRay->Origin.xyz);
^~~
double __OVERLOADABLE__ dot(double4 p0, double4 p1);
^
double __OVERLOADABLE__ dot(double2 p0, double2 p1);
^
double __OVERLOADABLE__ dot(double p0, double p1);
^
float __OVERLOADABLE__ dot(float4 p0, float4 p1);
^
float __OVERLOADABLE__ dot(float2 p0, float2 p1);
^
float __OVERLOADABLE__ dot(float p0, float p1);
^
float aOdotO = dot (theRay->Origin.xyz, theRay->Origin.xyz);
^~~
double __OVERLOADABLE__ dot(double4 p0, double4 p1);
^
double __OVERLOADABLE__ dot(double2 p0, double2 p1);
^
double __OVERLOADABLE__ dot(double p0, double p1);
^
float __OVERLOADABLE__ dot(float4 p0, float4 p1);
^
float __OVERLOADABLE__ dot(float2 p0, float2 p1);
^
float __OVERLOADABLE__ dot(float p0, float p1);
^
const float aSpecular = pow (max (dot (aReflect.xyz, theView.xyz), 0.f), a
MatSpec.w);
^~~
double __OVERLOADABLE__ dot(double4 p0, double4 p1);
^
double __OVERLOADABLE__ dot(double2 p0, double2 p1);
^
double __OVERLOADABLE__ dot(double p0, double p1);
^
float __OVERLOADABLE__ dot(float4 p0, float4 p1);
^
float __OVERLOADABLE__ dot(float2 p0, float2 p1);
^
float __OVERLOADABLE__ dot(float p0, float p1);
^
int3 aData = theNodeDataRecords[aNode].xyz;
^
if (aData.x != 1)
^
aNodeMinLft = theNodeMinPoints[aData.y];
^
aNodeMinRgh = theNodeMinPoints[aData.z];
^
aNodeMaxLft = theNodeMaxPoints[aData.y];
^
aNodeMaxRgh = theNodeMaxPoints[aData.z];
^
aNode = (aTimeMin1 ^
push (aStack, &aHead, (aTimeMin1 ^
aNode = aHitLft ? aData.y : aData.z;
^
for (int nTri = aData.y; nTri ^
for (int nTri = aData.y; nTri ^
int3 aData = theNodeDataRecords[aNode].xyz;
^
if (aData.x != 1)
^
theNodeMinPoints[aData.y],
^
aNode = (aTimeMin1 ^
push (aStack, &aHead, (aTimeMin1 ^
aNode = aHitLft ? aData.y : aData.z;
^
for (int nTri = aData.y; nTri ^
for (int nTri = aData.y; nTri ^
Draw[3]>
Fri, 01/10/2014 - 12:56
Dear Arjan,
Ray tracing in OCCT requires OpenCL 1.1 compliant implementation.
There are two possible reasons of listed errors:
- Installed drivers are outdated and provide OpenCL 1.0 implementation only (or contain bugs). Try to update the drivers.
- Quadro 1000M hardware may not support particular features of OpenCL 1.1 (to be checked).
Best regards
Fri, 01/10/2014 - 15:47
Thanks,
Updating the driver fixed the problem.
Kind regards,
Arjan