<p dir="ltr">Hi,</p>
<p dir="ltr">I am not sure about about the setting of that plugin but I would look at how many pixel you have between 0 and 265.  If you have none, then your layer starts at 265 and therefore you have 2 zero values ( 0 and -9999) but only -9999 is recognized by the plugin.</p>
<p dir="ltr">Start by adding 0 as a zero value.  There is a setting for that somewhere in the layer properties (top right window).  (I'm far from my computer).  </p>
<p dir="ltr">Try the plugin again.  It may or may not recognize that setting.  If it does not, use the raster calculator to create a new file containing only pixels above 265.</p>
<p dir="ltr">It will look something like   (DemX=>265) * DemX</p>
<p dir="ltr">Then try the plugin again should work and be scaled properly.<br></p>
<p dir="ltr">Nicolas Cadieux M.Sc.<br>
Les Entreprises Archéotec inc. <br>
8548, rue Saint-Denis Montréal H2P 2H2<br>
Téléphone: 514.381.5112  Fax: 514.381.4995</p>
<div class="quote">Le 2014-12-04 13:46, =?ISO-8859-1?Q?Jo=E3o_Gaspar_=5Bvia_OSGeo=2Eorg=5D=09?= <<a href="/user/SendEmail.jtp?type=node&node=5176535&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> a écrit :<br type='attribution'><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

        <div dir="ltr"><div><div><div><div><div><div><div>Hi guys,<br><br></div>it's is possible set the base o f the 3d model to the first value of  the DEM?<br><br></div>Imagine this, i have a dem clip that starts with elevation 265 meters and goes to 327 meters.<br><br></div>When i run the qgis2threejs the output start from 0 meters (i guess that is the surface above water) and give me a "big exaggeration" of the model.<br><br></div>If i change the exaggeration factor to small factors such as 0.01, 0.05 to reduce the exageration of the model (provoked by the 0 meters) but the model became to smooth and lose the detail of the terrain.<br><br></div>Another thing the nodata values in this case is -9999, this could be a problem?<br><br></div>Best Regards,<br></div>João<br><div><div><div><br><br></div></div></div></div>
<br />_______________________________________________
<br/>Qgis-user mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5176521&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>

        
        
        
        <br/>
        <br/>
        <hr noshade="noshade" size="1" color="#cccccc" />
        <div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1560.x6.nabble.com/Plugin-qgis2threejs-Set-the-elevation-base-of-the-model-with-the-first-value-of-DEM-tp5176521.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/Plugin-qgis2threejs-Set-the-elevation-base-of-the-model-with-the-first-value-of-DEM-tp5176521.html</a>
        </div>
        <div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                To start a new topic under Quantum GIS - User, email <a href="/user/SendEmail.jtp?type=node&node=5176535&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a> <br/>
                To unsubscribe from Quantum GIS - User, <a href="" target="_top" rel="nofollow" link="external">click here</a>.<br/>
                <a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a>
        </div></blockquote></div>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Re-Plugin-qgis2threejs-Set-the-elevation-base-of-the-model-with-the-first-value-of-DEM-tp5176535.html">Re: [Plugin][qgis2threejs] Set the elevation base of the model with the first value of DEM</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html">Quantum GIS - User mailing list archive</a> at Nabble.com.<br/>