name string | code string | asm string | file string |
|---|---|---|---|
embree::quad_index3(int, int, int, int, int, int) | std::pair<int,int> quad_index3(int a0, int a1, int a2, int b0, int b1, int b2)
{
if (b0 == a0) return quad_index2(0,a2,a1,b1,b2);
else if (b0 == a1) return quad_index2(1,a0,a2,b1,b2);
else if (b0 == a2) return quad_index2(2,a1,a0,b1,b2);
else if (b1 == a0) return quad_index2(0,a2,a1,b0,b2);
e... | cmpl %edi, %ecx
jne 0x86013
cmpl %edx, %r8d
jne 0x86034
shlq $0x20, %r9
movl $0xffffffff, %eax # imm = 0xFFFFFFFF
orq %r9, %rax
retq
cmpl %esi, %ecx
jne 0x8603f
cmpl %edi, %r8d
je 0x86039
cmpl %edx, %r8d
je 0x86048
cmpl %edi, %r9d
je 0x86090
cmpl %edx, %r9d
je 0x860b7
jmp 0x860f0
cmpl %esi, %r8d
jne 0x86053
shlq ... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.cpp |
embree::SceneGraph::convert_triangles_to_quads(embree::Ref<embree::SceneGraph::TriangleMeshNode>) | Ref<SceneGraph::Node> SceneGraph::convert_triangles_to_quads ( Ref<SceneGraph::TriangleMeshNode> tmesh )
{
Ref<SceneGraph::QuadMeshNode> qmesh = new SceneGraph::QuadMeshNode(tmesh->material,tmesh->time_range,0);
for (auto& p : tmesh->positions)
qmesh->positions.push_back(p);
qmesh->normals = t... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r13
movq %rdi, 0x28(%rsp)
movl $0xd8, %edi
callq 0x147e0
movq %rax, %rbx
movq (%r13), %rax
movq 0xd0(%rax), %rdi
movq %rdi, 0x20(%rsp)
testq %rdi, %rdi
je 0x8614c
movq (%rdi), %rax
callq *0x10(%rax)
movq (%r13), %rax
movq 0x6... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.cpp |
embree::SceneGraph::convert_triangles_to_quads(embree::Ref<embree::SceneGraph::Node>, float) | Ref<SceneGraph::Node> SceneGraph::convert_triangles_to_quads(Ref<SceneGraph::Node> node, float prop)
{
if (Ref<SceneGraph::TransformNode> xfmNode = node.dynamicCast<SceneGraph::TransformNode>()) {
xfmNode->child = convert_triangles_to_quads(xfmNode->child,prop);
}
else if (Ref<SceneGraph::MultiTran... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movss %xmm0, 0xc(%rsp)
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %r12
testq %r12, %r12
je 0x86711
leaq 0xe35bb(%rip), %rsi # 0x169b00
leaq 0xe37bc(%rip), %rdx # 0x169d08
movq %r12, %rdi
xorl %ecx, %ecx
callq 0x148e0
testq %rax... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.cpp |
embree::SceneGraph::convert_quads_to_grids(embree::Ref<embree::SceneGraph::QuadMeshNode>, unsigned int, unsigned int) | Ref<SceneGraph::Node> SceneGraph::convert_quads_to_grids ( Ref<SceneGraph::QuadMeshNode> qmesh , const unsigned int resX, const unsigned int resY )
{
const size_t timeSteps = qmesh->positions.size();
Ref<SceneGraph::GridMeshNode> gmesh = new SceneGraph::GridMeshNode(qmesh->material,qmesh->time_range,timeSteps... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp # imm = 0x108
movq %rcx, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
movq %rdi, 0x60(%rsp)
movq %rsi, 0x30(%rsp)
movq (%rsi), %rbx
movq 0x70(%rbx), %rax
movq %rax, 0x70(%rsp)
movq 0x78(%rbx), %rax
movq %rax, 0x68(%rsp)
movl $0xa8, %edi
c... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.cpp |
embree::SceneGraph::convert_grids_to_quads(embree::Ref<embree::SceneGraph::GridMeshNode>) | Ref<SceneGraph::Node> SceneGraph::convert_grids_to_quads ( Ref<SceneGraph::GridMeshNode> gmesh )
{
Ref<SceneGraph::QuadMeshNode> qmesh = new SceneGraph::QuadMeshNode(gmesh->material,gmesh->time_range,0);
for (size_t i=0; i<gmesh->numPrimitives(); i++)
{
const unsigned int startVtx = gmesh->grids[i]... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r13
movq %rdi, %r14
movl $0xd8, %edi
callq 0x147e0
movq %rax, %rbx
movq (%r13), %rax
movq 0xa0(%rax), %rdi
movq %rdi, 0x8(%rsp)
testq %rdi, %rdi
je 0x8718e
movq (%rdi), %rax
callq *0x10(%rax)
movq (%r13), %rax
movsd 0x68(%rax... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.cpp |
embree::SceneGraph::convert_grids_to_quads(embree::Ref<embree::SceneGraph::Node>) | Ref<SceneGraph::Node> SceneGraph::convert_grids_to_quads(Ref<SceneGraph::Node> node)
{
if (Ref<SceneGraph::TransformNode> xfmNode = node.dynamicCast<SceneGraph::TransformNode>()) {
xfmNode->child = convert_grids_to_quads(xfmNode->child);
}
else if (Ref<SceneGraph::MultiTransformNode> xfmNode = node.... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %r12
testq %r12, %r12
je 0x8753b
leaq 0xe2776(%rip), %rsi # 0x169b00
leaq 0xe2977(%rip), %rdx # 0x169d08
movq %r12, %rdi
xorl %ecx, %ecx
callq 0x148e0
testq %rax, %rax
je 0x8740b
movq ... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.cpp |
embree::gather_grid(RTCGeometryTy*, embree::vector_t<embree::Vec3fa, embree::aligned_allocator<embree::Vec3fa, 16ul>>&, unsigned long, unsigned long, unsigned int*, embree::vector_t<embree::Vec3fa, embree::aligned_allocator<embree::Vec3fa, 16ul>>&, unsigned int) | void gather_grid(RTCGeometry geom, avector<Vec3fa>& positions, size_t width, size_t height, unsigned int* indices, avector<Vec3fa>& vertices, unsigned int edgey)
{
//
// | <---------- <----------
// | /\ | /\ .
// | edgey | | |
// | | | ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r9, 0x10(%rsp)
movq %r8, %r13
movq %rdx, %r15
movq %rsi, 0x18(%rsp)
movq %rdi, %rbp
movl 0x80(%rsp), %eax
testq %rcx, %rcx
movq %rcx, 0x28(%rsp)
je 0x87ba7
leaq 0x1(%r15), %rcx
movq %rcx, 0x40(%rsp)
movq %r15, %rbx
negq %rbx
movq %... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.cpp |
embree::SceneGraph::my_merge_quads_to_grids(embree::Ref<embree::SceneGraph::Node>) | Ref<SceneGraph::Node> SceneGraph::my_merge_quads_to_grids(Ref<SceneGraph::Node> node)
{
if (Ref<SceneGraph::TransformNode> xfmNode = node.dynamicCast<SceneGraph::TransformNode>()) {
xfmNode->child = my_merge_quads_to_grids(xfmNode->child);
}
else if (Ref<SceneGraph::MultiTransformNode> xfmNode = nod... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp # imm = 0x258
movq %rsi, %rbx
movq %rdi, %r12
movq (%rsi), %r15
testq %r15, %r15
je 0x87e8d
leaq 0xe1e55(%rip), %rsi # 0x169b00
leaq 0xe2056(%rip), %rdx # 0x169d08
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x148e0
testq %... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.cpp |
embree::SceneGraph::convert_quads_to_subdivs(embree::Ref<embree::SceneGraph::Node>) | Ref<SceneGraph::Node> SceneGraph::convert_quads_to_subdivs(Ref<SceneGraph::Node> node)
{
if (Ref<SceneGraph::TransformNode> xfmNode = node.dynamicCast<SceneGraph::TransformNode>()) {
xfmNode->child = convert_quads_to_subdivs(xfmNode->child);
}
else if (Ref<SceneGraph::MultiTransformNode> xfmNode = n... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %r15
movq %rdi, %rbx
movq (%rsi), %r12
testq %r12, %r12
je 0x88bf9
leaq 0xe10ce(%rip), %rsi # 0x169b00
leaq 0xe12cf(%rip), %rdx # 0x169d08
movq %r12, %rdi
xorl %ecx, %ecx
callq 0x148e0
testq %rax, %rax
je 0x88ab6
movq ... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.cpp |
embree::SceneGraph::convert_round_to_flat_curves(embree::Ref<embree::SceneGraph::Node>) | Ref<SceneGraph::Node> SceneGraph::convert_round_to_flat_curves(Ref<SceneGraph::Node> node)
{
if (Ref<SceneGraph::TransformNode> xfmNode = node.dynamicCast<SceneGraph::TransformNode>()) {
xfmNode->child = convert_round_to_flat_curves(xfmNode->child);
}
else if (Ref<SceneGraph::MultiTransformNode> xfm... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %r12
testq %r12, %r12
je 0x89ae7
leaq 0xe01d3(%rip), %rsi # 0x169b00
leaq 0xe03d4(%rip), %rdx # 0x169d08
movq %r12, %rdi
xorl %ecx, %ecx
callq 0x148e0
testq %rax, %rax
je 0x899b1
movq ... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.cpp |
embree::SceneGraph::convert_bezier_to_bspline(embree::Ref<embree::SceneGraph::Node>) | Ref<SceneGraph::Node> SceneGraph::convert_bezier_to_bspline(Ref<SceneGraph::Node> node)
{
if (Ref<SceneGraph::TransformNode> xfmNode = node.dynamicCast<SceneGraph::TransformNode>()) {
convert_bezier_to_bspline(xfmNode->child);
}
else if (Ref<SceneGraph::MultiTransformNode> xfmNode = node.dynamicCast... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %r12
testq %r12, %r12
je 0x89e6d
leaq 0xdfe64(%rip), %rsi # 0x169b00
leaq 0xe0065(%rip), %rdx # 0x169d08
movq %r12, %rdi
xorl %ecx, %ecx
callq 0x148e0
testq %rax, %rax
je 0x89d12
movq ... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.cpp |
embree::SceneGraph::convert_bezier_to_hermite(embree::Ref<embree::SceneGraph::Node>) | Ref<SceneGraph::Node> SceneGraph::convert_bezier_to_hermite(Ref<SceneGraph::Node> node)
{
if (Ref<SceneGraph::TransformNode> xfmNode = node.dynamicCast<SceneGraph::TransformNode>()) {
convert_bezier_to_hermite(xfmNode->child);
}
else if (Ref<SceneGraph::MultiTransformNode> xfmNode = node.dynamicCast... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %r12
testq %r12, %r12
je 0x8a409
leaq 0xdf8c8(%rip), %rsi # 0x169b00
leaq 0xdfac9(%rip), %rdx # 0x169d08
movq %r12, %rdi
xorl %ecx, %ecx
callq 0x148e0
testq %rax, %rax
je 0x8a2ae
movq ... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.cpp |
embree::SceneGraph::remove_mblur(embree::Ref<embree::SceneGraph::Node>, bool) | Ref<SceneGraph::Node> SceneGraph::remove_mblur(Ref<SceneGraph::Node> node, bool mblur)
{
if (Ref<SceneGraph::TransformNode> xfmNode = node.dynamicCast<SceneGraph::TransformNode>()) {
if (mblur) {
if (xfmNode->spaces.size() > 1)
return nullptr;
} else {
if (xfmNode->spaces.siz... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %r13
movq (%rsi), %r12
testq %r12, %r12
je 0x8a768
movl %edx, %ebp
leaq 0xdf5f8(%rip), %rsi # 0x169b00
leaq 0xdf7f9(%rip), %rdx # 0x169d08
movq %r12, %rdi
xorl %ecx, %ecx
callq 0x148e0
testq %rax, %rax
... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.cpp |
embree::SceneGraph::convert_mblur_to_nonmblur(embree::Ref<embree::SceneGraph::Node>) | void SceneGraph::HairSetNode::print(std::ostream& cout, int depth) {
cout << "HairSetNode @ " << this << " { closed = " << closed << " }" << std::endl;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq (%rdi), %r14
testq %r14, %r14
je 0x8ad1f
leaq 0xdf04d(%rip), %rsi # 0x169b00
leaq 0xdf24e(%rip), %rdx # 0x169d08
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x148e0
testq %rax, %rax
je 0x8ab0c
movq %rax, %rbx
movq (%rax), %rax
mov... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.cpp |
embree::SceneGraph::flatten(embree::Ref<embree::SceneGraph::GroupNode>, embree::SceneGraph::InstancingMode) | Ref<SceneGraph::GroupNode> SceneGraph::flatten(Ref<SceneGraph::GroupNode> node, SceneGraph::InstancingMode mode) {
return flatten(node.dynamicCast<SceneGraph::Node>(),mode).dynamicCast<SceneGraph::GroupNode>();
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebp
movq %rdi, %r14
movq (%rsi), %rbx
movq %rbx, 0x8(%rsp)
testq %rbx, %rbx
je 0x8b291
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
movl %ebp, %edx
callq 0x8b1c8
movq 0x10(%rsp), %r15
testq %r15, %... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.cpp |
embree::SceneGraph::Transformations::add(embree::SceneGraph::Transformations const&) | void add (const Transformations& other) {
for (size_t i=0; i<other.size(); i++) spaces.push_back(other[i]);
} | cmpq $0x0, 0x10(%rsi)
je 0x8b630
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, %r14
xorl %r12d, %r12d
movq %rsi, 0x8(%rsp)
movq 0x20(%rsi), %rax
movq %r12, %rcx
shlq $0x6, %rcx
movaps (%rax,%rcx), %xmm0
movaps 0x10(%rax,%rcx), %xmm1
movaps 0x20(%rax,%rcx), %xmm2
movaps 0x... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::QuadMeshNode::QuadMeshNode(embree::Ref<embree::SceneGraph::MaterialNode>, embree::BBox<float>, unsigned long) | QuadMeshNode (Ref<MaterialNode> material, const BBox1f time_range = BBox1f(0,1), size_t numTimeSteps = 0 )
: Node(true), time_range(time_range), material(material)
{
for (size_t i=0; i<numTimeSteps; i++)
positions.push_back(avector<Vertex>());
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdx, %r15
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rdi)
leaq 0x20(%rdi), %rcx
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movb %al, 0x20(%rdi)
leaq 0x40(%rdi), %rcx
movq %rcx, 0x30(%rdi)
movq %rax, 0x38(%rdi)
movb %al, 0x40(%rdi)
movq ... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::GridMeshNode::GridMeshNode(embree::Ref<embree::SceneGraph::MaterialNode>, embree::BBox<float>, unsigned long) | GridMeshNode (Ref<MaterialNode> material, const BBox1f time_range = BBox1f(0,1), size_t numTimeSteps = 0)
: Node(true), time_range(time_range), material(material)
{
for (size_t i=0; i<numTimeSteps; i++)
positions.push_back(avector<Vertex>());
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdx, %r15
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rdi)
leaq 0x20(%rdi), %rcx
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movb %al, 0x20(%rdi)
leaq 0x40(%rdi), %rcx
movq %rcx, 0x30(%rdi)
movq %rax, 0x38(%rdi)
movb %al, 0x40(%rdi)
movq ... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::HairSetNode::HairSetNode(RTCGeometryType, embree::Ref<embree::SceneGraph::MaterialNode>, embree::BBox<float>, unsigned long) | HairSetNode (RTCGeometryType type, Ref<MaterialNode> material, const BBox1f time_range = BBox1f(0,1), size_t numTimeSteps = 0)
: Node(true), time_range(time_range), type(type), material(material), tessellation_rate(4)
{
for (size_t i=0; i<numTimeSteps; i++)
positions.push_back(avector<Ve... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rcx, %r15
movq %rdx, %r12
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rdi)
leaq 0x20(%rdi), %rcx
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movb %al, 0x20(%rdi)
leaq 0x40(%rdi), %rcx
movq %rcx, 0x30(%rdi)
movq %rax, 0x38(%rdi)
movb %al, ... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraphFlattener::SceneGraphFlattener(embree::Ref<embree::SceneGraph::Node>, embree::SceneGraph::InstancingMode) | SceneGraphFlattener (Ref<SceneGraph::Node> in, SceneGraph::InstancingMode instancing)
{
in->calculateInDegree();
in->calculateClosed(instancing == SceneGraph::INSTANCING_GROUP);
std::vector<Ref<SceneGraph::Node>> geometries;
if (instancing != SceneGraph::INSTANCING_NONE)
{
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, (%rdi)
leaq 0x10(%rdi), %rcx
movl %eax, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movq %rcx, 0x20(%rdi)
movq %rcx, 0x28(%rdi)
movq %rax, 0x30(%rdi)
leaq 0x40(%rdi), %rcx
movl %eax, 0... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.cpp |
embree::SceneGraph::AnimatedPerspectiveCameraNode::get(float) const | virtual PerspectiveCameraData get(float time) const
{
time = frac((time-time_range.lower)/time_range.size());
time = (cameras.size()-1)*time;
int itime = (int)floor(time);
itime = min(max(itime,0),(int)cameras.size()-2);
float ftime = time - (float)itime;
return l... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movss 0xb0(%rsi), %xmm2
movss 0xb4(%rsi), %xmm1
subss %xmm2, %xmm0
subss %xmm2, %xmm1
divss %xmm1, %xmm0
movss %xmm0, 0xc(%rsp)
callq 0x142f0
movss 0xc(%rsp), %xmm1
subss %xmm0, %xmm1
movq 0xc0(%r14), %r12
movq 0xb8(%r14), %r15... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::TransformNode::setMaterial(embree::Ref<embree::SceneGraph::MaterialNode>) | Node (bool closed = false)
: indegree(0), closed(closed), hasLightOrCamera(false), id(-1), geometry(nullptr) {} | pushq %rbx
subq $0x10, %rsp
movq 0x98(%rdi), %rbx
movq (%rsi), %rdi
movq %rdi, 0x8(%rsp)
testq %rdi, %rdi
je 0x8c68d
movq (%rdi), %rax
callq *0x10(%rax)
movq (%rbx), %rax
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq *0x28(%rax)
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x8c6ab
movq (%rdi), %rax
callq *0x18(%rax)
addq $0x1... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::TransformNode::get(float) const | virtual AffineSpace3ff get(float time) const
{
if (spaces.size() <= 1) return spaces[0];
int numTimeSteps = spaces.size();
BBox1f time_range = spaces.time_range;
time = frac((time-time_range.lower)/time_range.size());
time = (numTimeSteps-1)*time;
int it... | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x78(%rsi), %r15
cmpq $0x1, %r15
ja 0x8c79f
movq 0x88(%r14), %rax
movaps (%rax), %xmm0
movaps %xmm0, (%rbx)
movaps 0x10(%rax), %xmm1
movaps 0x20(%rax), %xmm2
movaps 0x30(%rax), %xmm0
jmp 0x8c875
movss 0x68(%r14), %xmm2
movss 0x6c(%r1... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::MultiTransformNode::setMaterial(embree::Ref<embree::SceneGraph::MaterialNode>) | Node (bool closed = false)
: indegree(0), closed(closed), hasLightOrCamera(false), id(-1), geometry(nullptr) {} | pushq %rbx
subq $0x10, %rsp
movq 0x80(%rdi), %rbx
movq (%rsi), %rdi
movq %rdi, 0x8(%rsp)
testq %rdi, %rdi
je 0x8c92d
movq (%rdi), %rax
callq *0x10(%rax)
movq (%rbx), %rax
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq *0x28(%rax)
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x8c94b
movq (%rdi), %rax
callq *0x18(%rax)
addq $0x1... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::MultiTransformNode::get(unsigned long, float) const | virtual AffineSpace3ff get(size_t i, float time) const
{
if (spaces[i].size() <= 1) return spaces[i][0];
int numTimeSteps = spaces[i].size();
BBox1f time_range = spaces[i].time_range;
time = frac((time-time_range.lower)/time_range.size());
time = (numTimeSteps-1)*time;
... | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x68(%rsi), %rax
leaq (%rdx,%rdx,2), %rcx
shlq $0x4, %rcx
leaq (%rax,%rcx), %r14
movq 0x10(%rax,%rcx), %r15
cmpq $0x1, %r15
ja 0x8ca52
movq 0x20(%r14), %rax
movaps (%rax), %xmm0
movaps %xmm0, (%rbx)
movaps 0x10(%rax), %xmm1
movaps 0x20(%rax), %xmm2
... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::TriangleMeshNode::lbounds() const | virtual LBBox3fa lbounds() const
{
avector<BBox3fa> bboxes(positions.size());
for (size_t t=0; t<positions.size(); t++) {
BBox3fa b = empty;
for (auto& x : positions[t]) b.extend(x);
bboxes[t] = b;
}
return LBBox3fa(bboxes);
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x70(%rsi), %rdx
movq 0x78(%rsi), %rcx
movq %rcx, %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rsp)
movq $0x0, 0x18(%rsp)
subq %rdx, %rdi
je 0x8cf62
movq %rdi, %r15
sarq $0x5, %r15
movl $0x10, %esi
callq 0x7c0b0
movq %rax, 0x18(%rsp)
m... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::QuadMeshNode::bounds() const | virtual BBox3fa bounds() const
{
BBox3fa b = empty;
for (const auto& p : positions)
for (auto& x : p)
b.extend(x);
return b;
} | movq %rdi, %rax
movq 0x70(%rsi), %rcx
movq 0x78(%rsi), %rdx
cmpq %rdx, %rcx
je 0x8d19f
movaps 0x915db(%rip), %xmm0 # 0x11e740
movaps 0x8cae4(%rip), %xmm1 # 0x119c50
movq 0x8(%rcx), %rsi
testq %rsi, %rsi
je 0x8d194
movq 0x18(%rcx), %rdi
shlq $0x4, %rsi
xorl %r8d, %r8d
movaps (%rdi,%r8), %xmm2
minps %xmm2, %xmm1
ma... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::SubdivMeshNode::bounds() const | virtual BBox3fa bounds() const
{
BBox3fa b = empty;
for (const auto& p : positions)
for (auto& x : p)
b.extend(x);
return b;
} | movq %rdi, %rax
movq 0x70(%rsi), %rcx
movq 0x78(%rsi), %rdx
cmpq %rdx, %rcx
je 0x8d469
movaps 0x91311(%rip), %xmm0 # 0x11e740
movaps 0x8c81a(%rip), %xmm1 # 0x119c50
movq 0x8(%rcx), %rsi
testq %rsi, %rsi
je 0x8d45e
movq 0x18(%rcx), %rdi
shlq $0x4, %rsi
xorl %r8d, %r8d
movaps (%rdi,%r8), %xmm2
minps %xmm2, %xmm1
ma... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::HairSetNode::bounds() const | virtual BBox3fa bounds() const
{
BBox3fa b = empty;
for (const auto& p : positions)
for (auto& x : p)
b.extend(x);
return b;
} | movq %rdi, %rax
movq 0x78(%rsi), %rcx
movq 0x80(%rsi), %rdx
cmpq %rdx, %rcx
je 0x8d73c
movaps 0x9103e(%rip), %xmm0 # 0x11e740
movaps 0x8c547(%rip), %xmm1 # 0x119c50
movq 0x8(%rcx), %rsi
testq %rsi, %rsi
je 0x8d731
movq 0x18(%rcx), %rdi
shlq $0x4, %rsi
xorl %r8d, %r8d
movaps (%rdi,%r8), %xmm2
minps %xmm2, %xmm1
ma... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::HairSetNode::lbounds() const | virtual LBBox3fa lbounds() const
{
avector<BBox3fa> bboxes(positions.size());
for (size_t t=0; t<positions.size(); t++) {
BBox3fa b = empty;
for (auto& x : positions[t]) b.extend(x);
bboxes[t] = b;
}
return LBBox3fa(bboxes);
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x78(%rsi), %rdx
movq 0x80(%rsi), %rcx
movq %rcx, %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rsp)
movq $0x0, 0x18(%rsp)
subq %rdx, %rdi
je 0x8d7b2
movq %rdi, %r15
sarq $0x5, %r15
movl $0x10, %esi
callq 0x7c0b0
movq %rax, 0x18(%rsp)
m... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::PointSetNode::bounds() const | virtual BBox3fa bounds() const
{
BBox3fa b = empty;
for (const auto& p : positions)
for (auto& x : p)
b.extend(x);
return b;
} | movq %rdi, %rax
movq 0x78(%rsi), %rcx
movq 0x80(%rsi), %rdx
cmpq %rdx, %rcx
je 0x8d9a2
movaps 0x90dd8(%rip), %xmm0 # 0x11e740
movaps 0x8c2e1(%rip), %xmm1 # 0x119c50
movq 0x8(%rcx), %rsi
testq %rsi, %rsi
je 0x8d997
movq 0x18(%rcx), %rdi
shlq $0x4, %rsi
xorl %r8d, %r8d
movaps (%rdi,%r8), %xmm2
minps %xmm2, %xmm1
ma... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::PointSetNode::lbounds() const | virtual LBBox3fa lbounds() const
{
avector<BBox3fa> bboxes(positions.size());
for (size_t t=0; t<positions.size(); t++) {
BBox3fa b = empty;
for (auto& x : positions[t])
b.extend(x);
bboxes[t] = b;
}
return LBBox3fa(bboxes);
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x78(%rsi), %rdx
movq 0x80(%rsi), %rcx
movq %rcx, %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rsp)
movq $0x0, 0x18(%rsp)
subq %rdx, %rdi
je 0x8da18
movq %rdi, %r15
sarq $0x5, %r15
movl $0x10, %esi
callq 0x7c0b0
movq %rax, 0x18(%rsp)
m... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::GridMeshNode::lbounds() const | virtual LBBox3fa lbounds() const
{
avector<BBox3fa> bboxes(positions.size());
for (size_t t=0; t<positions.size(); t++) {
BBox3fa b = empty;
for (auto& x : positions[t]) b.extend(x);
bboxes[t] = b;
}
return LBBox3fa(bboxes);
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x70(%rsi), %rdx
movq 0x78(%rsi), %rcx
movq %rcx, %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rsp)
movq $0x0, 0x18(%rsp)
subq %rdx, %rdi
je 0x8dc78
movq %rdi, %r15
sarq $0x5, %r15
movl $0x10, %esi
callq 0x7c0b0
movq %rax, 0x18(%rsp)
m... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraphFlattener::convertFlattenedInstances(std::vector<embree::Ref<embree::SceneGraph::Node>, std::allocator<embree::Ref<embree::SceneGraph::Node>>>&, embree::Ref<embree::SceneGraph::Node> const&) | void SceneGraph::PointSetNode::print(std::ostream& cout, int depth) {
cout << "PointSetNode @ " << this << " { closed = " << closed << " }" << std::endl;
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq (%rdx), %r13
testq %r13, %r13
je 0x8e041
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
leaq 0xdbb4b(%rip), %rsi # 0x169b00
leaq 0xdbd4c(%rip), %rdx # 0x169d08
movq %r13, %rdi
xorl %ecx, %ecx
callq 0x148e0
testq %rax, %rax
je 0x8dfee
movq %rax, %r12
m... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.cpp |
embree::SceneGraphFlattener::convertMultiLevelInstances(std::vector<embree::Ref<embree::SceneGraph::Node>, std::allocator<embree::Ref<embree::SceneGraph::Node>>>&, embree::Ref<embree::SceneGraph::Node> const&) | void convertMultiLevelInstances(std::vector<Ref<SceneGraph::Node>>& group, const Ref<SceneGraph::Node>& node)
{
if (Ref<SceneGraph::GroupNode> groupNode = node.dynamicCast<SceneGraph::GroupNode>()) {
for (const auto& child : groupNode->children) convertMultiLevelInstances(group,child);
}
e... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq (%rdx), %rbp
testq %rbp, %rbp
je 0x8e0f7
leaq 0xdba61(%rip), %rsi # 0x169b00
leaq 0xdbdaa(%rip), %rdx # 0x169e50
movq %rbp, %rdi
xorl %ecx, %ecx
callq 0x148e0
testq %rax, %rax
je 0x8... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.cpp |
embree::SceneGraph::TransformNode::TransformNode(embree::SceneGraph::Transformations const&, embree::Ref<embree::SceneGraph::Node> const&) | TransformNode(const Transformations& spaces, const Ref<Node>& child)
: spaces(spaces), child(child) {} | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rdi)
leaq 0x20(%rdi), %rcx
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movb %al, 0x20(%rdi)
leaq 0x40(%rdi), %rcx
movq %rcx, 0x30(%rdi)
movq %rax, 0x38(%rdi)
movb %al, 0x40(%rdi)
movq %rax, 0x50(%rdi)
movw $... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::TriangleMeshNode::TriangleMeshNode(embree::Ref<embree::SceneGraph::TriangleMeshNode>, embree::SceneGraph::Transformations const&) | TriangleMeshNode (Ref<SceneGraph::TriangleMeshNode> imesh, const Transformations& spaces)
: Node(true),
time_range(imesh->time_range),
positions(transformMSMBlurVec3faBuffer(imesh->positions,spaces)),
normals(transformMSMBlurNormalBuffer(imesh->normals,spaces)),
texcoords... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rdi)
leaq 0x20(%rdi), %rcx
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movb %al, 0x20(%rdi)
leaq 0x40(%rdi), %rcx
movq %rcx, 0x30(%rdi)
movq %rax, 0x38(%rdi)
movb ... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::QuadMeshNode::QuadMeshNode(embree::Ref<embree::SceneGraph::QuadMeshNode>, embree::SceneGraph::Transformations const&) | QuadMeshNode (Ref<SceneGraph::QuadMeshNode> imesh, const Transformations& spaces)
: Node(true),
time_range(imesh->time_range),
positions(transformMSMBlurVec3faBuffer(imesh->positions,spaces)),
normals(transformMSMBlurNormalBuffer(imesh->normals,spaces)),
texcoords(imesh->... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rdi)
leaq 0x20(%rdi), %rcx
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movb %al, 0x20(%rdi)
leaq 0x40(%rdi), %rcx
movq %rcx, 0x30(%rdi)
movq %rax, 0x38(%rdi)
movb ... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::SubdivMeshNode::SubdivMeshNode(embree::Ref<embree::SceneGraph::SubdivMeshNode>, embree::SceneGraph::Transformations const&) | SubdivMeshNode (Ref<SceneGraph::SubdivMeshNode> imesh, const Transformations& spaces)
: Node(true),
time_range(imesh->time_range),
positions(transformMSMBlurVec3faBuffer(imesh->positions,spaces)),
normals(transformMSMBlurNormalBuffer(imesh->normals,spaces)),
texcoords(imesh->texc... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rdi)
leaq 0x20(%rdi), %rcx
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movb %al, 0x20(%rdi)
leaq 0x40(%rdi), %rcx
movq %rcx, 0x30(%rdi)
movq %rax, 0x38(%rdi)... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::HairSetNode::HairSetNode(embree::Ref<embree::SceneGraph::HairSetNode>, embree::SceneGraph::Transformations const&) | HairSetNode (Ref<SceneGraph::HairSetNode> imesh, const Transformations& spaces)
: Node(true),
time_range(imesh->time_range),
type(imesh->type),
positions(transformMSMBlurBuffer(imesh->positions,spaces)),
normals(transformMSMBlurNormalBuffer(imesh->normals,spaces)),
tangen... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %r13
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rdi)
leaq 0x20(%rdi), %rcx
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movb %al, 0x20(%rdi)
leaq 0x40(%rdi), %rcx
movq %rcx, 0x30(%rdi)
movq %rax, 0x38(%rdi)... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::Transformations::interpolate(float) const | AffineSpace3ff interpolate (const float gtime) const
{
assert(time_range.lower == 0.0f && time_range.upper == 1.0f);
if (spaces.size() == 1) return spaces[0];
/* calculate time segment itime and fractional time ftime */
const int time_segments = int(spaces.size()-1);
const... | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x10(%rsi), %r15
cmpq $0x1, %r15
jne 0xa48c7
movq 0x20(%r14), %rax
movaps (%rax), %xmm1
movaps 0x10(%rax), %xmm2
movaps 0x20(%rax), %xmm3
movaps 0x30(%rax), %xmm0
jmp 0xa496a
leal -0x1(%r15), %eax
cvtsi2ss %eax, %xmm1
mulss %xmm0, %x... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
std::vector<embree::vector_t<embree::Vec3fx, embree::aligned_allocator<embree::Vec3fx, std::alignment_of<embree::Vec3fx>::value>>, std::allocator<embree::vector_t<embree::Vec3fx, embree::aligned_allocator<embree::Vec3fx, std::alignment_of<embree::Vec3fx>::value>>>> embree::SceneGraph::transformMSMBlurVectorBuffer<embre... | std::vector<avector<Vertex>> transformMSMBlurVectorBuffer(const std::vector<avector<Vertex>>& vectors_in, const Transformations& spaces)
{
if (vectors_in.size() == 0)
return vectors_in;
std::vector<avector<Vertex>> vectors_out;
const size_t num_time_steps = vectors_in.size();
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rax
movq 0x8(%rsi), %rcx
movq %rcx, %rbp
subq %rax, %rbp
subq %rax, %rcx
je 0xa5167
movq %rdx, %r15
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
movq 0x8(%rax), %r12
cmpq $0x... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
std::vector<embree::vector_t<embree::Vec3fa, embree::aligned_allocator<embree::Vec3fa, std::alignment_of<embree::Vec3fa>::value>>, std::allocator<embree::vector_t<embree::Vec3fa, embree::aligned_allocator<embree::Vec3fa, std::alignment_of<embree::Vec3fa>::value>>>> embree::SceneGraph::transformMSMBlurVectorVec3faBuffer... | std::vector<avector<Vertex>> transformMSMBlurVectorVec3faBuffer(const std::vector<avector<Vertex>>& vectors_in, const Transformations& spaces)
{
if (vectors_in.size() == 0)
return vectors_in;
std::vector<avector<Vertex>> vectors_out;
const size_t num_time_steps = vectors_in.size();
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rax
movq 0x8(%rsi), %rcx
movq %rcx, %rbp
subq %rax, %rbp
subq %rax, %rcx
je 0xa544d
movq %rdx, %r15
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
movq 0x8(%rax), %r12
cmpq $0x... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::Transformations::bounds(embree::BBox<embree::Vec3fa> const&) const | BBox3fa bounds ( const BBox3fa& cbounds ) const
{
BBox3fa r = empty;
for (size_t i=0; i<spaces.size(); i++)
r.extend(xfmBounds(spaces[i],cbounds));
return r;
} | movq %rdi, %rax
movq 0x10(%rsi), %rcx
testq %rcx, %rcx
je 0xa5b7c
movq 0x20(%rsi), %rsi
movaps (%rdx), %xmm0
movups 0x4(%rdx), %xmm1
movups 0x8(%rdx), %xmm2
shufps $0x0, %xmm0, %xmm0 # xmm0 = xmm0[0,0,0,0]
movaps %xmm0, -0x18(%rsp)
shufps $0x0, %xmm1, %xmm1 # xmm1 = xmm1[0,0,0,0]
movaps %xmm2, %xmm3
shufps $0... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::createQuadPlane(embree::Vec3fa const&, embree::Vec3fa const&, embree::Vec3fa const&, unsigned long, unsigned long, embree::Ref<embree::SceneGraph::MaterialNode>) | Ref<SceneGraph::Node> SceneGraph::createQuadPlane (const Vec3fa& p0, const Vec3fa& dx, const Vec3fa& dy, size_t width, size_t height, Ref<MaterialNode> material)
{
Ref<SceneGraph::QuadMeshNode> mesh = new SceneGraph::QuadMeshNode(material,BBox1f(0,1),1);
mesh->positions[0].resize((width+1)*(height+1));
me... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r9, 0x8(%rsp)
movq %r8, (%rsp)
movq %rcx, %rbp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, 0x30(%rsp)
movq 0x80(%rsp), %r12
movl $0xd8, %edi
callq 0x147e0
movq %rax, %r13
movq %rax, %rbx
movq (%r12), %rdi
movq %rdi, 0x20(%rsp)
testq... | /embree[P]embree/tutorials/common/scenegraph/geometry_creation.cpp |
embree::SceneGraph::createGridPlane(embree::Vec3fa const&, embree::Vec3fa const&, embree::Vec3fa const&, unsigned long, unsigned long, embree::Ref<embree::SceneGraph::MaterialNode>) | Ref<SceneGraph::Node> SceneGraph::createGridPlane (const Vec3fa& p0, const Vec3fa& dx, const Vec3fa& dy, size_t width, size_t height, Ref<MaterialNode> material)
{
Ref<SceneGraph::GridMeshNode> mesh = new SceneGraph::GridMeshNode(material,BBox1f(0,1),1);
mesh->positions[0].resize((width+1)*(height+1));
me... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r9, 0x8(%rsp)
movq %r8, 0x48(%rsp)
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %rbp
movq %rdi, 0x40(%rsp)
movq 0x90(%rsp), %r14
movl $0xa8, %edi
callq 0x147e0
movq %rax, %rbx
movq (%r14), %rdi
movq %rdi, 0x38(%rsp)
testq %rdi, %rdi
... | /embree[P]embree/tutorials/common/scenegraph/geometry_creation.cpp |
embree::SceneGraph::createTriangleSphere(embree::Vec3fa const&, float, unsigned long, embree::Ref<embree::SceneGraph::MaterialNode>) | Ref<SceneGraph::Node> SceneGraph::createTriangleSphere (const Vec3fa& center, const float radius, size_t N, Ref<MaterialNode> material)
{
unsigned numPhi = unsigned(N);
unsigned numTheta = 2*numPhi;
unsigned numVertices = numTheta*(numPhi+1);
Ref<SceneGraph::TriangleMeshNode> mesh = new SceneGraph::Tr... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rcx, %rbp
movq %rdx, 0x48(%rsp)
movss %xmm0, 0x24(%rsp)
movq %rsi, %r12
movq %rdi, %r14
movl $0xd8, %edi
callq 0x147e0
movq %rax, %rbx
movq %rax, 0x30(%rsp)
movq (%rbp), %rdi
movq %rdi, 0x70(%rsp)
testq %rdi, %rdi
je 0xa8a34
movq (... | /embree[P]embree/tutorials/common/scenegraph/geometry_creation.cpp |
embree::SceneGraph::createQuadSphere(embree::Vec3fa const&, float, unsigned long, embree::Ref<embree::SceneGraph::MaterialNode>) | Ref<SceneGraph::Node> SceneGraph::createQuadSphere (const Vec3fa& center, const float radius, size_t N, Ref<MaterialNode> material)
{
unsigned numPhi = unsigned(N);
unsigned numTheta = 2*numPhi;
unsigned numVertices = numTheta*(numPhi+1);
Ref<SceneGraph::QuadMeshNode> mesh = new SceneGraph::QuadMeshNo... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rcx, %rbp
movq %rdx, 0x48(%rsp)
movss %xmm0, 0x24(%rsp)
movq %rsi, %r12
movq %rdi, %r14
movl $0xd8, %edi
callq 0x147e0
movq %rax, %r15
movq %rax, %rbx
movq (%rbp), %rdi
movq %rdi, 0x68(%rsp)
testq %rdi, %rdi
je 0xa904d
movq (%rdi),... | /embree[P]embree/tutorials/common/scenegraph/geometry_creation.cpp |
embree::SceneGraph::createGridSphere(embree::Vec3fa const&, float, unsigned long, embree::Ref<embree::SceneGraph::MaterialNode>) | Ref<SceneGraph::Node> SceneGraph::createGridSphere (const Vec3fa& center, const float radius, size_t N, Ref<MaterialNode> material)
{
size_t grid_size = (N+1)*(N+1);
Ref<SceneGraph::GridMeshNode> mesh = new SceneGraph::GridMeshNode(material,BBox1f(0,1),1);
mesh->positions[0].resize(grid_size*6);
for ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rcx, %rbp
movq %rdx, %r15
movaps %xmm0, 0x40(%rsp)
movq %rsi, %r12
movq %rdi, 0x20(%rsp)
movl $0xa8, %edi
callq 0x147e0
movq %rax, %rbx
movq %rax, 0x28(%rsp)
movq (%rbp), %rdi
movq %rdi, 0x18(%rsp)
testq %rdi, %rdi
je 0xa95dd
movq ... | /embree[P]embree/tutorials/common/scenegraph/geometry_creation.cpp |
embree::SceneGraph::createSubdivSphere(embree::Vec3fa const&, float, unsigned long, float, embree::Ref<embree::SceneGraph::MaterialNode>) | Ref<SceneGraph::Node> SceneGraph::createSubdivSphere (const Vec3fa& center, const float radius, size_t N, float tessellationRate, Ref<MaterialNode> material)
{
unsigned numPhi = unsigned(N);
unsigned numTheta = 2*numPhi;
unsigned numVertices = numTheta*(numPhi+1);
Ref<SceneGraph::SubdivMeshNode> mesh ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rcx, %r14
movss %xmm1, 0x28(%rsp)
movq %rdx, 0x48(%rsp)
movss %xmm0, 0x34(%rsp)
movq %rsi, %r12
movq %rdi, %r15
movl $0x1b0, %edi # imm = 0x1B0
callq 0x147e0
movq %rax, %rbx
movq %rax, 0x10(%rsp)
movq (%r14), %rdi
movq %... | /embree[P]embree/tutorials/common/scenegraph/geometry_creation.cpp |
embree::SceneGraph::createSphere(embree::Vec3fa const&, float, embree::Ref<embree::SceneGraph::MaterialNode>) | Ref<SceneGraph::Node> SceneGraph::createSphere (const Vec3fa& center, const float radius, Ref<MaterialNode> material)
{
RTCGeometryType type = RTC_GEOMETRY_TYPE_SPHERE_POINT;
Ref<SceneGraph::PointSetNode> mesh = new SceneGraph::PointSetNode(type, material, BBox1f(0,1), 1);
mesh->positions[0].resize(1);
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r12
movss %xmm0, 0x14(%rsp)
movq %rsi, %r15
movq %rdi, %r14
movl $0xb0, %edi
callq 0x147e0
movq %rax, %rbx
movq (%r12), %rdi
movq %rdi, 0x8(%rsp)
testq %rdi, %rdi
je 0xaa656
movq (%rdi), %rax
callq *0x10(%rax)
movb $0x1, %bpl... | /embree[P]embree/tutorials/common/scenegraph/geometry_creation.cpp |
embree::SceneGraph::createHairyPlane(int, embree::Vec3fa const&, embree::Vec3fa const&, embree::Vec3fa const&, float, float, unsigned long, embree::SceneGraph::CurveSubtype, embree::Ref<embree::SceneGraph::MaterialNode>) | Ref<SceneGraph::Node> SceneGraph::createHairyPlane (int hash, const Vec3fa& pos, const Vec3fa& dx, const Vec3fa& dy, const float len, const float r, size_t numHairs, CurveSubtype subtype, Ref<MaterialNode> material)
{
RandomSampler sampler;
RandomSampler_init(sampler,hash);
RTCGeometryType type = (subtyp... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %r9, 0x58(%rsp)
movaps %xmm1, 0x20(%rsp)
movaps %xmm0, 0x40(%rsp)
movq %r8, 0x80(%rsp)
movq %rcx, 0x70(%rsp)
movq %rdx, 0x78(%rsp)
movl %esi, %r14d
movq %rdi, %r15
movq 0x118(%rsp), %rbx
movl $0x118, %edi # imm = 0x118
ca... | /embree[P]embree/tutorials/common/scenegraph/geometry_creation.cpp |
embree::SceneGraph::createGarbageTriangleMesh(int, unsigned long, bool, embree::Ref<embree::SceneGraph::MaterialNode>) | Ref<SceneGraph::Node> SceneGraph::createGarbageTriangleMesh (int hash, size_t numTriangles, bool mblur, Ref<MaterialNode> material)
{
RandomSampler sampler;
RandomSampler_init(sampler,hash);
Ref<SceneGraph::TriangleMeshNode> mesh = new SceneGraph::TriangleMeshNode(material,BBox1f(0,1),mblur?2:1);
mes... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, %r14
movl %ecx, %ebp
movq %rdx, 0x8(%rsp)
movl %esi, %r13d
movq %rdi, 0x20(%rsp)
movl $0xd8, %edi
callq 0x147e0
movq %rax, %r12
movq %rax, %rbx
movq (%r14), %rdi
movq %rdi, 0x10(%rsp)
testq %rdi, %rdi
je 0xab6e3
movq (%rdi), %r... | /embree[P]embree/tutorials/common/scenegraph/geometry_creation.cpp |
embree::SceneGraph::createGarbageLineSegments(int, unsigned long, bool, embree::Ref<embree::SceneGraph::MaterialNode>) | Ref<SceneGraph::Node> SceneGraph::createGarbageLineSegments (int hash, size_t numLineSegments, bool mblur, Ref<MaterialNode> material)
{
RandomSampler sampler;
RandomSampler_init(sampler,hash);
Ref<SceneGraph::HairSetNode> mesh = new SceneGraph::HairSetNode(RTC_GEOMETRY_TYPE_FLAT_LINEAR_CURVE,material,BBo... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %r14
movl %ecx, %r15d
movq %rdx, %rbp
movl %esi, %r13d
movq %rdi, 0x10(%rsp)
movl $0x118, %edi # imm = 0x118
callq 0x147e0
movq %rax, %r12
movq %rax, %rbx
movq (%r14), %rdi
movq %rdi, (%rsp)
testq %rdi, %rdi
je 0xac2... | /embree[P]embree/tutorials/common/scenegraph/geometry_creation.cpp |
embree::SceneGraph::createGarbageHair(int, unsigned long, bool, embree::Ref<embree::SceneGraph::MaterialNode>) | Ref<SceneGraph::Node> SceneGraph::createGarbageHair (int hash, size_t numHairs, bool mblur, Ref<MaterialNode> material)
{
RandomSampler sampler;
RandomSampler_init(sampler,hash);
Ref<SceneGraph::HairSetNode> mesh = new SceneGraph::HairSetNode(RTC_GEOMETRY_TYPE_FLAT_BEZIER_CURVE,material,BBox1f(0,1),mblur?... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %r14
movl %ecx, %r15d
movq %rdx, %rbp
movl %esi, %r13d
movq %rdi, 0x10(%rsp)
movl $0x118, %edi # imm = 0x118
callq 0x147e0
movq %rax, %r12
movq %rax, %rbx
movq (%r14), %rdi
movq %rdi, (%rsp)
testq %rdi, %rdi
je 0xac6... | /embree[P]embree/tutorials/common/scenegraph/geometry_creation.cpp |
embree::SceneGraph::createGarbageSubdivMesh(int, unsigned long, bool, embree::Ref<embree::SceneGraph::MaterialNode>) | Ref<SceneGraph::Node> SceneGraph::createGarbageSubdivMesh (int hash, size_t numFaces, bool mblur, Ref<MaterialNode> material)
{
RandomSampler sampler;
RandomSampler_init(sampler,hash);
Ref<SceneGraph::SubdivMeshNode> mesh = new SceneGraph::SubdivMeshNode(material,BBox1f(0,1),mblur?2:1);
for (size_t i... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r8, %r12
movl %ecx, 0x14(%rsp)
movq %rdx, 0x28(%rsp)
movl %esi, %r14d
movq %rdi, %r15
movl $0x1b0, %edi # imm = 0x1B0
callq 0x147e0
movq %rax, 0x8(%rsp)
movq (%r12), %rdi
movq %rdi, 0x18(%rsp)
testq %rdi, %rdi
je 0xaca47... | /embree[P]embree/tutorials/common/scenegraph/geometry_creation.cpp |
embree::SceneGraph::createGarbagePointSet(int, unsigned long, bool, embree::Ref<embree::SceneGraph::MaterialNode>) | Ref<SceneGraph::Node> SceneGraph::createGarbagePointSet(int hash, size_t numPoints, bool mblur, Ref<MaterialNode> material)
{
RandomSampler sampler;
RandomSampler_init(sampler,hash);
Ref<SceneGraph::PointSetNode> mesh = new SceneGraph::PointSetNode(RTC_GEOMETRY_TYPE_SPHERE_POINT, material,BBox1f(0,1),mbl... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r8, %r13
movl %ecx, 0xc(%rsp)
movq %rdx, 0x18(%rsp)
movl %esi, %r12d
movq %rdi, %r15
movl $0xb0, %edi
callq 0x147e0
movq %rax, 0x10(%rsp)
movq (%r13), %rdi
movq %rdi, 0x28(%rsp)
testq %rdi, %rdi
je 0xaceaf
movq (%rdi), %rax
callq *... | /embree[P]embree/tutorials/common/scenegraph/geometry_creation.cpp |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> embree::XMLLoader::load<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>(embree::Ref<embree::XML> const&) | Vec3f getVec3fa() const { return Vec3fa(f[0],f[1],f[2]); } | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq (%rdx), %rax
movq 0x98(%rax), %rsi
cmpq %rsi, 0xa0(%rax)
je 0xad8d3
movq %rdi, %rbx
callq 0xc5a4a
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r14
movl $0x10, %edi
callq 0x143c0
movq %rax, %rbx
movq (%r14), %r... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::Vec2<int> embree::XMLLoader::load<embree::Vec2<int>>(embree::Ref<embree::XML> const&) | Vec2i XMLLoader::load<Vec2i>(const Ref<XML>& xml) {
if (xml->body.size() != 2) THROW_RUNTIME_ERROR(xml->loc.str()+": wrong int2 body");
return Vec2i(xml->body[0].Int(),xml->body[1].Int());
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq (%rdx), %rax
movq 0x98(%rax), %rdi
movq 0xa0(%rax), %rax
subq %rdi, %rax
cmpq $0x90, %rax
jne 0xadc85
callq 0xc5b78
movl %eax, %ebp
movq (%r14), %rax
movq 0x98(%rax), %rdi
addq $0x48, %rdi
callq 0xc5b78
movl %ebp, (%rbx)
m... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::Vec3<int> embree::XMLLoader::load<embree::Vec3<int>>(embree::Ref<embree::XML> const&) | Vec3i XMLLoader::load<Vec3i>(const Ref<XML>& xml) {
if (xml->body.size() != 3) THROW_RUNTIME_ERROR(xml->loc.str()+": wrong int3 body");
return Vec3i(xml->body[0].Int(),xml->body[1].Int(),xml->body[2].Int());
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq (%rdx), %rax
movq 0x98(%rax), %rdi
movq 0xa0(%rax), %rax
subq %rdi, %rax
cmpq $0xd8, %rax
jne 0xaddec
callq 0xc5b78
movl %eax, %ebp
movq (%r14), %rax
movq 0x98(%rax), %rdi
addq $0x48, %rdi
callq 0xc5b78
movl %eax, %r15d
mo... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::Vec4<int> embree::XMLLoader::load<embree::Vec4<int>>(embree::Ref<embree::XML> const&) | Vec4i XMLLoader::load<Vec4i>(const Ref<XML>& xml) {
if (xml->body.size() != 4) THROW_RUNTIME_ERROR(xml->loc.str()+": wrong int4 body");
return Vec4i(xml->body[0].Int(),xml->body[1].Int(),xml->body[2].Int(),xml->body[3].Int());
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq (%rdx), %rax
movq 0x98(%rax), %rdi
movq 0xa0(%rax), %rax
subq %rdi, %rax
cmpq $0x120, %rax # imm = 0x120
jne 0xadf73
callq 0xc5b78
movl %eax, %ebp
movq (%r14), %rax
movq 0x98(%rax), %rdi
addq $0x48, %... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
float embree::XMLLoader::load<float>(embree::Ref<embree::XML> const&) | Vec3f getVec3fa() const { return Vec3fa(f[0],f[1],f[2]); } | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq (%rsi), %rax
movq 0x98(%rax), %rdi
movq 0xa0(%rax), %rax
subq %rdi, %rax
cmpq $0x48, %rax
jne 0xae09a
movl $0x1, %esi
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0xc5c8c
movq %rsi, %r14
movl $0x10, %edi
callq 0x143c0
movq %rax, %rbx
movq... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::Vec3fa embree::XMLLoader::load<embree::Vec3fa>(embree::Ref<embree::XML> const&) | Vec3fa XMLLoader::load<Vec3fa>(const Ref<XML>& xml) {
if (xml->body.size() != 3) THROW_RUNTIME_ERROR(xml->loc.str()+": wrong float3 body");
return Vec3fa(xml->body[0].Float(),xml->body[1].Float(),xml->body[2].Float());
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x68, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq (%rdx), %rax
movq 0x98(%rax), %rdi
movq 0xa0(%rax), %rax
subq %rdi, %rax
cmpq $0xd8, %rax
jne 0xae658
movl $0x1, %esi
callq 0xc5c8c
movaps %xmm0, 0x30(%rsp)
movq (%r14), %rax
movq 0x98(%rax), %rdi
addq $0x48, %rdi
movl $0x... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::Vec4<float> embree::XMLLoader::load<embree::Vec4<float>>(embree::Ref<embree::XML> const&) | Vec4f XMLLoader::load<Vec4f>(const Ref<XML>& xml) {
if (xml->body.size() != 4) THROW_RUNTIME_ERROR(xml->loc.str()+": wrong float4 body");
return Vec4f(xml->body[0].Float(),xml->body[1].Float(),xml->body[2].Float(),xml->body[3].Float());
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq (%rdx), %rax
movq 0x98(%rax), %rdi
movq 0xa0(%rax), %rax
subq %rdi, %rax
cmpq $0x120, %rax # imm = 0x120
jne 0xae9a3
movl $0x1, %esi
callq 0xc5c8c
movss %xmm0, 0x14(%rsp)
movq (%r14), %rax
movq 0x98(%rax), %rdi
... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3fa>> embree::XMLLoader::load<embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3fa>>>(embree::Ref<embree::XML> const&) | AffineSpace3fa XMLLoader::load<AffineSpace3fa>(const Ref<XML>& xml)
{
if (xml->parm("translate") != "") {
const Vec3f v = string_to_Vec3f(xml->parm("translate"));
return AffineSpace3fa::translate(v);
} else if (xml->parm("scale") != "") {
const Vec3f v = string_to_Vec3f(xml->parm("scale"));... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1e8, %rsp # imm = 0x1E8
movq %rdx, %r14
movq %rdi, %rbx
movq (%rdx), %r15
leaq 0x30(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x714f4(%rip), %rsi # 0x11ffb4
leaq 0x714f6(%rip), %rdx # 0x11ffbd
leaq 0x20(%rsp), %rdi
callq 0x62274
... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadFloatArray(embree::Ref<embree::XML> const&) | std::vector<float> XMLLoader::loadFloatArray(const Ref<XML>& xml)
{
if (!xml) return std::vector<float>();
if (xml->parm("ofs") != "") {
return loadBinary<std::vector<float>>(xml);
}
else
{
std::vector<float> data;
data.resize(xml->body.size());
for (size_t i=0; i<data.s... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movq (%rdx), %r12
testq %r12, %r12
je 0xb0b3b
movq %rdx, %r14
movq %rsi, %r15
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x6f551(%rip), %rsi # 0x12001a
leaq 0x6f54d(%rip), %rdx # 0x12001d
leaq 0x8(%rsp), %r... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadVec3ffArray(embree::Ref<embree::XML> const&) | avector<Vec3ff> XMLLoader::loadVec3ffArray(const Ref<XML>& xml)
{
if (!xml) return avector<Vec3ff>();
if (xml->parm("ofs") != "") {
return loadBinary<avector<Vec3ff>>(xml);
}
else
{
avector<Vec3ff> data;
if (xml->body.size() % 4 != 0) THROW_RUNTIME_ERROR(xml->loc.str()+": wron... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, %r14
movq (%rdx), %r12
testq %r12, %r12
je 0xb16a2
movq %rdx, %rbx
movq %rsi, %r15
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x6e9ea(%rip), %rsi # 0x12001a
leaq 0x6e9e6(%rip), %rdx # 0x12001d
leaq 0x10(%rsp), %... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadQuaternionArray(embree::Ref<embree::XML> const&) | avector<AffineSpace3ff> XMLLoader::loadQuaternionArray(const Ref<XML>& xml)
{
if (!xml) return avector<AffineSpace3ff>();
if (xml->name == "QuaternionArray") {
avector<AffineSpace3ff> spaceArray;
for (size_t i = 0; i < xml->size(); ++i) {
auto child = xml->child(i);
spaceArray.pus... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %rbx
movq %rdx, 0x8(%rsp)
movq (%rdx), %rdi
testq %rdi, %rdi
je 0xb20ff
addq $0x30, %rdi
leaq 0x6e15a(%rip), %rsi # 0x1200a2
callq 0x14240
testl %eax, %eax
jne 0xb213c
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rbx)
movq $0x0, ... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadUIntArray(embree::Ref<embree::XML> const&) | std::vector<unsigned> XMLLoader::loadUIntArray(const Ref<XML>& xml)
{
if (!xml) return std::vector<unsigned>();
if (xml->parm("ofs") != "") {
return loadBinary<std::vector<unsigned>>(xml);
}
else
{
std::vector<unsigned> data;
data.resize(xml->body.size());
for (size_t i=... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movq (%rdx), %r12
testq %r12, %r12
je 0xb2355
movq %rdx, %r14
movq %rsi, %r15
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x6dd37(%rip), %rsi # 0x12001a
leaq 0x6dd33(%rip), %rdx # 0x12001d
leaq 0x8(%rsp), %r... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadDistantLight(embree::Ref<embree::XML> const&) | Ref<SceneGraph::Node> XMLLoader::loadDistantLight(const Ref<XML>& xml)
{
const AffineSpace3fa space = load<AffineSpace3fa>(xml->child("AffineSpace"));
const Vec3fa L = load<Vec3fa>(xml->child("L"));
const Vec3fa D = Vec3fa(0,0,1);
const float halfAngle = load<float>(xml->child("halfAngle"));
cons... | pushq %r15
pushq %r14
pushq %rbx
subq $0xa0, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq (%rdx), %rsi
leaq 0x20(%rsp), %r15
movq %r15, -0x10(%r15)
movabsq $0x7053656e69666641, %rax # imm = 0x7053656E69666641
movq %rax, (%r15)
movl $0x65636170, 0x7(%r15) # imm = 0x65636170
movq $0xb, -0x8(%r15)
movb $0x0, 0xb(%r15)
leaq ... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadTriangleLight(embree::Ref<embree::XML> const&) | Ref<SceneGraph::Node> XMLLoader::loadTriangleLight(const Ref<XML>& xml)
{
const AffineSpace3fa space = load<AffineSpace3fa>(xml->child("AffineSpace"));
const Vec3fa L = load<Vec3fa>(xml->child("L"));
const Vec3fa v0 = xfmPoint(space, Vec3fa(1, 0, 0));
const Vec3fa v1 = xfmPoint(space, Vec3fa(0, 1, 0)... | pushq %r15
pushq %r14
pushq %rbx
subq $0xb0, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq (%rdx), %rsi
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
movabsq $0x7053656e69666641, %rax # imm = 0x7053656E69666641
movq %rax, (%r15)
movl $0x65636170, 0x7(%r15) # imm = 0x65636170
movq $0xb, -0x8(%r15)
movb $0x0, 0xb(%r15)
leaq ... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadQuadLight(embree::Ref<embree::XML> const&) | Ref<SceneGraph::Node> XMLLoader::loadQuadLight(const Ref<XML>& xml)
{
const AffineSpace3fa space = load<AffineSpace3fa>(xml->child("AffineSpace"));
const Vec3fa L = load<Vec3fa>(xml->child("L"));
const Vec3fa v0 = xfmPoint(space, Vec3fa(0, 0, 0));
const Vec3fa v1 = xfmPoint(space, Vec3fa(0, 1, 0));
... | pushq %r15
pushq %r14
pushq %rbx
subq $0xc0, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq (%rdx), %rsi
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
movabsq $0x7053656e69666641, %rax # imm = 0x7053656E69666641
movq %rax, (%r15)
movl $0x65636170, 0x7(%r15) # imm = 0x65636170
movq $0xb, -0x8(%r15)
movb $0x0, 0xb(%r15)
leaq ... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadAnimatedLight(embree::Ref<embree::XML> const&) | Ref<SceneGraph::Node> XMLLoader::loadAnimatedLight(const Ref<XML>& xml)
{
size_t numLights = xml->size();
if (numLights == 0)
return nullptr;
/* load list of lights */
std::vector<Ref<SceneGraph::LightNode>> lights(numLights);
for (size_t i=0; i<numLights; i++)
lights[i] = loadLight... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, 0x80(%rsp)
movq %rdi, %r15
movq %rdx, 0x8(%rsp)
movq (%rdx), %rax
movq 0x88(%rax), %rbx
movq 0x80(%rax), %rax
subq %rax, %rbx
je 0xb4584
movq %r15, 0x70(%rsp)
sarq $0x3, %rbx
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rdx
movq %r... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadTextureParm(embree::Ref<embree::XML> const&) | std::shared_ptr<Texture> XMLLoader::loadTextureParm(const Ref<XML>& xml)
{
const std::string id = xml->parm("id");
if (id != "" && state.textureMap.find(id) != state.textureMap.end())
return state.textureMap[id];
std::shared_ptr<Texture> texture;
const FileName src = xml->parm("src");
/*! ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rdx, %r15
movq %rsi, %rbp
movq %rdi, %rbx
movq (%rdx), %r12
leaq 0x68(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x6622e(%rip), %rsi # 0x11a983
leaq 0x66229(%rip), %rdx # 0x11a985
leaq 0x58(%rsp), %rdi
callq 0x62274
leaq 0x80(... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadPerspectiveCamera(embree::Ref<embree::XML> const&) | Ref<SceneGraph::Node> XMLLoader::loadPerspectiveCamera(const Ref<XML>& xml)
{
const Vec3fa from = xml->parm_Vec3fa("from");
const Vec3fa to = xml->parm_Vec3fa("to");
const Vec3fa up = xml->parm_Vec3fa("up");
const float fov = xml->parm_float("fov");
return new SceneGraph::PerspectiveCameraNode(fr... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq (%rdx), %r15
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x6b2ec(%rip), %rsi # 0x1201ff
leaq 0x6b2e9(%rip), %rdx # 0x120203
leaq 0x8(%rsp), %rdi
callq 0x62274
leaq 0x50(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movq %... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadAnimatedPerspectiveCamera(embree::Ref<embree::XML> const&) | Ref<SceneGraph::Node> XMLLoader::loadAnimatedPerspectiveCamera(const Ref<XML>& xml)
{
size_t numCameras = xml->size();
if (numCameras == 0)
return nullptr;
std::vector<Ref<SceneGraph::PerspectiveCameraNode>> cameras(numCameras);
for (size_t i=0; i<numCameras; i++)
cameras[i] = ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %r12
movq %rdx, 0x8(%rsp)
movq (%rdx), %rax
movq 0x88(%rax), %rbp
subq 0x80(%rax), %rbp
je 0xb5296
movq %r12, 0x48(%rsp)
sarq $0x3, %rbp
leaq 0x50(%rsp), %rdi
leaq 0x10(%rsp), %rdx
movq %rbp, %rsi
callq 0xa2914
cmpq $0x1, %rbp... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadMaterialParms(embree::Ref<embree::XML> const&) | Parms XMLLoader::loadMaterialParms(const Ref<XML>& parms)
{
Parms material;
for (size_t i=0; i<parms->size(); i++)
{
Ref<XML> entry = parms->children[i];
std::string name = entry->parm("name");
if (entry->name == "int" ) { material.add(name, load<int> (entry)); }
else if ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x858, %rsp # imm = 0x858
movq %rsi, 0x80(%rsp)
leaq 0x8(%rdi), %rax
movl $0x0, 0x8(%rdi)
xorl %ecx, %ecx
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movq %rax, 0x20(%rdi)
movq %rdi, (%rsp)
movq %rcx, 0x28(%rdi)
movq %rdx, 0x88(%rsp)
mov... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadMaterial(embree::Ref<embree::XML> const&) | Ref<SceneGraph::MaterialNode> XMLLoader::loadMaterial(const Ref<XML>& xml)
{
const std::string id = xml->parm("id");
if (id != "" && state.materialMap.find(id) != state.materialMap.end())
return state.materialMap[id];
if (!xml->hasChild("parameters")) {
std::cout << "Warning: material " << i... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdx), %r12
leaq 0x30(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x6469e(%rip), %rsi # 0x11a983
leaq 0x64699(%rip), %rdx # 0x11a985
leaq 0x20(%rsp), %rdi
callq 0x62274
leaq 0x58(... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::addMaterial(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, embree::Parms const&) | Ref<SceneGraph::MaterialNode> XMLLoader::addMaterial(const std::string& type, const Parms& parms)
{
if (type == "Matte")
{
const Vec3fa reflectance = parms.getVec3fa("reflectance",one);
return new MatteMaterial(reflectance);
}
else if (type == "Mirror")
{
const Vec3fa reflectanc... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x178, %rsp # imm = 0x178
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %rbx
leaq 0x69aa8(%rip), %rsi # 0x12028f
movq %rdx, %rdi
callq 0x14240
testl %eax, %eax
je 0xb69c0
leaq 0x69aa3(%rip), %rsi # 0x1202a1
movq %r15, %rdi
callq 0x1... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::parseSubdivMode(embree::Ref<embree::XML> const&) | Vec3f getVec3fa() const { return Vec3fa(f[0],f[1],f[2]); } | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq (%rdi), %rbx
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x672eb(%rip), %rsi # 0x12043d
leaq 0x672ef(%rip), %rdx # 0x120448
leaq 0x28(%rsp), %rdi
callq 0x62274
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
movq %rbx, %rsi
callq 0xc5db6
movq 0x... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadSubdivMesh(embree::Ref<embree::XML> const&) | Ref<SceneGraph::Node> XMLLoader::loadSubdivMesh(const Ref<XML>& xml)
{
Ref<SceneGraph::MaterialNode> material = loadMaterial(xml->child("material"));
Ref<SceneGraph::SubdivMeshNode> mesh = new SceneGraph::SubdivMeshNode(material,BBox1f(0,1),0);
if (Ref<XML> animation = xml->childOpt("animated_positions"... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %r15
movq %rdi, 0x80(%rsp)
movq %rdx, 0x58(%rsp)
movq (%rdx), %rbx
leaq 0x20(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x67b39(%rip), %rsi # 0x120e59
leaq 0x67b3a(%rip), %rdx # 0x120e61
leaq 0x10(%rsp), %rdi
callq 0x6227... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadCurves(embree::Ref<embree::XML> const&, RTCGeometryType) | Ref<SceneGraph::Node> XMLLoader::loadCurves(const Ref<XML>& xml, RTCGeometryType type)
{
Ref<SceneGraph::MaterialNode> material = loadMaterial(xml->child("material"));
Ref<SceneGraph::HairSetNode> mesh = new SceneGraph::HairSetNode(type,material,BBox1f(0,1),0);
if (Ref<XML> animation = xml->childOpt("ani... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rcx, 0x70(%rsp)
movq %rsi, %rbp
movq %rdi, 0xa0(%rsp)
movq %rdx, 0x28(%rsp)
movq (%rdx), %rbx
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x65ffa(%rip), %rsi # 0x120e59
leaq 0x65ffb(%rip), %rdx # 0x120e61
leaq 0x8(%rs... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadFurBall(embree::Ref<embree::XML> const&) | Ref<SceneGraph::Node> XMLLoader::loadFurBall(const Ref<XML>& xml)
{
Ref<SceneGraph::GroupNode> group = new SceneGraph::GroupNode;
float r = (xml->parm("radius") != "") ? xml->parm_float("radius") : 10.0f;
int slices = (xml->parm("slices") != "") ? int(xml->parm_float("slices")) : 60;
int slabs = (xml... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp # imm = 0x258
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, 0x238(%rsp)
movl $0x80, %edi
callq 0x147e0
movq %rax, %rbx
movq %rax, %rdi
xorl %esi, %esi
callq 0xcaa3e
movq (%rbx), %rax
movq %rbx, 0x168(%rsp)
movq %rbx, %rdi
callq ... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadTransformNode(embree::Ref<embree::XML> const&) | Ref<SceneGraph::Node> XMLLoader::loadTransformNode(const Ref<XML>& xml)
{
/* parse number of time steps to use for instanced geometry */
int time_steps = 1;
std::string str_time_steps = xml->parm("time_steps");
if (str_time_steps != "") time_steps = max(1,std::stoi(str_time_steps));
bool quatern... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdx, %r15
movq %rsi, 0x50(%rsp)
movq %rdi, %r14
movq (%rdx), %rbx
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x61f56(%rip), %rsi # 0x120680
leaq 0x61f59(%rip), %rdx # 0x12068a
movq %rsp, %rdi
callq 0x62274
leaq 0x78(... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadNode(embree::Ref<embree::XML> const&) | Ref<SceneGraph::Node> XMLLoader::loadNode(const Ref<XML>& xml)
{
if (xml->name == "assign")
{
if (xml->parm("type") == "material")
{
const std::string id = xml->parm("id");
Ref<SceneGraph::MaterialNode> material = loadMaterial(xml->child(0));
state.materialMap[id] = mater... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp # imm = 0x128
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbp
movq (%rdx), %rdi
addq $0x30, %rdi
leaq 0x619ef(%rip), %rsi # 0x120713
callq 0x14240
testl %eax, %eax
je 0xbf27f
movq $0x0, (%rbp)
movq (%r14), %r12
leaq 0x20(... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadMultiTransformNode(embree::Ref<embree::XML> const&) | Ref<SceneGraph::Node> XMLLoader::loadMultiTransformNode(const Ref<XML>& xml)
{
/* parse number of time steps to use for instanced geometry */
int time_steps = 1;
std::string str_time_steps = xml->parm("time_steps");
if (str_time_steps != "") time_steps = max(1,std::stoi(str_time_steps));
bool qu... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rdx, %r15
movq %rsi, 0x58(%rsp)
movq %rdi, 0x50(%rsp)
movq (%rdx), %rbx
leaq 0x38(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x5dfaf(%rip), %rsi # 0x120680
leaq 0x5dfb2(%rip), %rdx # 0x12068a
leaq 0x28(%rsp), %rdi
callq 0x6227... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadTransform2Node(embree::Ref<embree::XML> const&) | Ref<SceneGraph::Node> XMLLoader::loadTransform2Node(const Ref<XML>& xml)
{
AffineSpace3fa space0 = load<AffineSpace3fa>(xml->children[0]);
AffineSpace3fa space1 = load<AffineSpace3fa>(xml->children[1]);
if (xml->size() == 3)
return new SceneGraph::TransformNode(space0,space1,loadNode(xml->children... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdx), %rax
movq 0x80(%rax), %rdx
leaq 0x60(%rsp), %rdi
callq 0xaea96
movq (%r12), %rax
movq 0x80(%rax), %rdx
addq $0x8, %rdx
leaq 0x20(%rsp), %rdi
callq 0xaea96
movq (%r12), %rax
mov... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadAnimation2Node(embree::Ref<embree::XML> const&) | Ref<SceneGraph::Node> XMLLoader::loadAnimation2Node(const Ref<XML>& xml)
{
if (xml->size() != 2) THROW_RUNTIME_ERROR(xml->loc.str()+": invalid Animation2 node");
Ref<SceneGraph::Node> node0 = loadNode(xml->children[0]);
Ref<SceneGraph::Node> node1 = loadNode(xml->children[1]);
SceneGraph::extend_anim... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x60, %rsp
movq %rdx, %r14
movq (%rdx), %rax
movq 0x80(%rax), %rdx
movq 0x88(%rax), %rax
subq %rdx, %rax
cmpq $0x10, %rax
jne 0xc3660
movq %rsi, %rbx
movq %rdi, %r12
callq 0xbecfc
movq (%r14), %rax
movq 0x80(%rax), %rdx
addq $0x8, %rdx
leaq 0x20(%rsp), %rdi
m... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadAnimationNode(embree::Ref<embree::XML> const&) | Ref<SceneGraph::Node> XMLLoader::loadAnimationNode(const Ref<XML>& xml)
{
if (xml->size() == 0) THROW_RUNTIME_ERROR(xml->loc.str()+": invalid Animation node");
Ref<SceneGraph::Node> node = loadNode(xml->children[0]);
for (size_t i=1; i<xml->size(); i++) {
Ref<SceneGraph::Node> nodei = loadNode(xml-... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %r14
movq (%rdx), %rax
movq 0x80(%rax), %rdx
cmpq %rdx, 0x88(%rax)
je 0xc3934
movq %rsi, %r15
movq %rdi, 0x8(%rsp)
callq 0xbecfc
movq (%r14), %rax
movq 0x80(%rax), %rdx
movq 0x88(%rax), %rax
subq %rdx, %rax
cmpq $0x9, %rax
jb ... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::load(embree::FileName const&, embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3fa>> const&, embree::XMLLoader::SharedState&) | Ref<SceneGraph::Node> XMLLoader::load(const FileName& fileName, const AffineSpace3fa& space, SharedState& state)
{
if (state.sceneMap.find(fileName) != state.sceneMap.end())
return state.sceneMap[fileName];
XMLLoader loader(fileName,space,state);
state.sceneMap[fileName] = loader.root;
return l... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rcx, %r12
movq %rdx, 0x8(%rsp)
movq %rsi, %r15
movq %rdi, (%rsp)
leaq 0x60(%rcx), %r14
leaq 0x40(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rsi), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %rbp
movq %rbp, %rdi
callq ... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadBGFMaterial(embree::Ref<embree::XML> const&) | Ref<SceneGraph::MaterialNode> XMLLoader::loadBGFMaterial(const Ref<XML>& xml)
{
std::string type = xml->parm("type");
std::string name = xml->parm("name");
Parms parms = loadMaterialParms(xml);
return addMaterial(type,parms);
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x70, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdx), %r12
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x601a4(%rip), %rsi # 0x123f79
leaq 0x601a1(%rip), %rdx # 0x123f7d
movq %rsp, %rdi
callq 0x62274
leaq 0x30(%rsp), %rdi
movq ... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadBGFMesh(embree::Ref<embree::XML> const&) | Ref<SceneGraph::Node> XMLLoader::loadBGFMesh(const Ref<XML>& xml)
{
size_t matid = xml->child("materiallist")->body[0].Int();
Ref<SceneGraph::MaterialNode> material = id2material.at(matid);
Ref<SceneGraph::TriangleMeshNode> mesh = new SceneGraph::TriangleMeshNode(material,BBox1f(0,1),0);
mesh->posit... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, %r15
movq (%rdx), %rbx
leaq 0x20(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x5ca26(%rip), %rsi # 0x12094e
leaq 0x5ca2b(%rip), %rdx # 0x12095a
leaq 0x10(%rsp), %rdi
callq 0x62274
leaq 0x30(... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::loadBGFTransformNode(embree::Ref<embree::XML> const&) | Ref<SceneGraph::Node> XMLLoader::loadBGFTransformNode(const Ref<XML>& xml)
{
const size_t child = atoi(xml->parm("child").c_str());
if (xml->body.size() != 12) THROW_RUNTIME_ERROR(xml->loc.str()+": wrong AffineSpace body");
const AffineSpace3fa space(LinearSpace3fa(Vec3fa(xml->body[0].Float(),xml->body[... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdx), %r12
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x5b0dd(%rip), %rsi # 0x11f5da
leaq 0x5b0db(%rip), %rdx # 0x11f5df
movq %rsp, %rdi
callq 0x62274
leaq 0x70(%rsp),... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XMLLoader::load(embree::FileName const&, embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3fa>> const&) | Ref<SceneGraph::Node> XMLLoader::load(const FileName& fileName, const AffineSpace3fa& space)
{
SharedState state;
XMLLoader loader(fileName,space,state); return loader.root;
} | pushq %rbx
subq $0x190, %rsp # imm = 0x190
movq %rdi, %rbx
leaq 0x10(%rsp), %rax
xorl %ecx, %ecx
movl %ecx, (%rax)
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
leaq 0x40(%rsp), %rax
movl %ecx, (%rax)
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
mo... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::Token::String[abi:cxx11]() const | std::string String() const {
if (ty == TY_STRING) return str;
THROW_RUNTIME_ERROR(loc.str()+": string expected");
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
cmpl $0x5, (%rsi)
jne 0xc5a84
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
callq 0x621de
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $... | /embree[P]embree/tutorials/common/scenegraph/../../../common/lexers/tokenstream.h |
embree::Token::Int() const | int Int() const {
if (ty == TY_INT) return i;
THROW_RUNTIME_ERROR(loc.str()+": integer expected");
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %r14
cmpl $0x2, (%rdi)
jne 0xc5b99
movl 0x4(%r14), %eax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x143c0
movq %rax, %rbx
addq $0x28, %r14
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
callq 0xc575c
leaq 0x5ae14(%... | /embree[P]embree/tutorials/common/scenegraph/../../../common/lexers/tokenstream.h |
embree::Token::Float(bool) const | float Float(bool cast = true) const {
if (ty == TY_FLOAT) return f;
if (ty == TY_INT && cast) return (float)i;
THROW_RUNTIME_ERROR(loc.str()+": float expected");
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %r14
movl (%rdi), %eax
cmpl $0x2, %eax
je 0xc5cad
cmpl $0x3, %eax
jne 0xc5cc3
movss 0x4(%r14), %xmm0
jmp 0xc5cb8
testb %sil, %sil
je 0xc5cc3
cvtsi2ssl 0x4(%r14), %xmm0
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
c... | /embree[P]embree/tutorials/common/scenegraph/../../../common/lexers/tokenstream.h |
embree::XML::parm(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const | std::string parm(const std::string& parmID) const {
std::map<std::string,std::string>::const_iterator i = parms.find(parmID);
if (i == parms.end()) return ""; else return i->second;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x50(%rsi), %rdi
movq %rdx, %rsi
callq 0xcb4e6
addq $0x58, %r14
cmpq %r14, %rax
je 0xc5df1
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x621de
jmp 0xc5e0a
leaq 0x10(%rbx), ... | /embree[P]embree/tutorials/common/scenegraph/xml_parser.h |
std::vector<float, std::allocator<float>> embree::XMLLoader::loadBinary<std::vector<float, std::allocator<float>>>(embree::Ref<embree::XML> const&) | Vector XMLLoader::loadBinary(const Ref<XML>& xml)
{
if (!binFile)
THROW_RUNTIME_ERROR("cannot open file "+binFileName.str()+" for reading");
size_t ofs = atol(xml->parm("ofs").c_str());
fseek(binFile,long(ofs),SEEK_SET);
/* read size of array */
size_t size = atol(xml->parm("size").c_str(... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, 0x40(%rsp)
cmpq $0x0, 0x20(%rsi)
je 0xc6054
movq %rdx, %r12
movq (%rdx), %r15
leaq 0x10(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x5a147(%rip), %rsi # 0x12001a
leaq 0x5a143(%rip), %rdx # 0x12001d
movq %r... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
std::vector<embree::Vec2<float>, std::allocator<embree::Vec2<float>>> embree::XMLLoader::loadBinary<std::vector<embree::Vec2<float>, std::allocator<embree::Vec2<float>>>>(embree::Ref<embree::XML> const&) | Vector XMLLoader::loadBinary(const Ref<XML>& xml)
{
if (!binFile)
THROW_RUNTIME_ERROR("cannot open file "+binFileName.str()+" for reading");
size_t ofs = atol(xml->parm("ofs").c_str());
fseek(binFile,long(ofs),SEEK_SET);
/* read size of array */
size_t size = atol(xml->parm("size").c_str(... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, 0x40(%rsp)
cmpq $0x0, 0x20(%rsi)
je 0xc6518
movq %rdx, %r12
movq (%rdx), %r15
leaq 0x10(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x59c83(%rip), %rsi # 0x12001a
leaq 0x59c7f(%rip), %rdx # 0x12001d
movq %r... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.