Commit 3727c51b authored by Thomas Pitiot 's avatar Thomas Pitiot

test pour debug particules

parent c0275889
......@@ -12,8 +12,8 @@
</Parameters>
<Stereo focusDistance="20.9077" physScreenWidth="0.5" IODist="0.062"/>
<ManipulatedCameraFrame>
<position x="0.147086" y="-1.71221" z="-22.565"/>
<orientation q0="0.216344" q1="0.975578" q2="-0.0362554" q3="0.0113711"/>
<position x="0" y="0" z="22.6303"/>
<orientation q0="0" q1="0" q2="0" q3="1"/>
<ManipulatedParameters transSens="1" zoomSens="1" rotSens="1" wheelSens="1" spinSens="0.3"/>
<ManipulatedCameraParameters zoomsOnPivotPoint="false" flySpeed="0.0866025" rotatesAroundUpVector="false">
<sceneUpVector x="0" y="1" z="0"/>
......
......@@ -238,10 +238,10 @@ void Needle::refine()
REAL rayon = sim_->envMap_.volumeMaxdistance(volume) ;
if(rayon > sim_->envMap_.maxCellRay )
{
if(sim_->envMap_.subdivideVolume(volume))
{
refine();
}
// if(sim_->envMap_.subdivideVolume(volume))
// {
// refine();
// }
}
#endif
......
......@@ -42,7 +42,7 @@ void Simulator::doStep()
void Simulator::initSurfaces()
{
Surface * obj = new Surface(this,VEC3(-1.0f,-1.5f,0.69f));
Surface * obj = new Surface(this,VEC3(-1.0f,-1.5f,0.0f));
CGoGNout<<"surface initialisée : "<<obj->index_surface<<CGoGNendl;
}
......
......@@ -551,7 +551,7 @@ void Volusion::displayObj()
m_topo_render->updateData(simul.envMap_.map, simul.envMap_.position, 0.8f, 0.8f, 0.8f);
for (ArticulatedObject * o : simul.objects)
{
CGoGNout<<" size belong :"<< o->belonging_cells.size()<< " || nbseg :"<<o->nbEdges << CGoGNendl;
// CGoGNout<<" size belong :"<< o->belonging_cells.size()<< " || nbseg :"<<o->nbEdges << CGoGNendl;
for(const auto& vect : o->belonging_cells)
{
// CGoGNout<<" size vector :"<< vect.size() << CGoGNendl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment