instantreality forum
news: Welcome to the instantreality forums!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
January 17, 2018, 08:25:23 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Different "output-pixel-size" with aopt possible?  (Read 2617 times)
Daniel_78
Newbie
*
Posts: 2


View Profile
« on: March 29, 2012, 10:06:02 am »

Hello,

if I convert a .wrl file to .html with the aopt commando, I always get a output-pixel-size (width/height) of 400x400 px

...
<x3d id='someUniqueId' showStat='false' showLog='false' width='400px' height='400px'>
...

Is it possible to get a different output-pixel-size? Maybe with given prameters for the aopt commando!?

I use Ubuntu 10.04 LTS

Thank you in advance.
Regards, Dan
Logged
yjung
Administrator
Sr. Member
*****
Posts: 260


View Profile
« Reply #1 on: March 29, 2012, 08:26:40 pm »

The canvas size is contained exemplarily and only hardcoded. But you can easily change this manually or e.g. via a batched sed or so, if you have more files. Alternatively, you can completely remove those tags and style the size of the x3d element simply using CSS.
Logged
Daniel_78
Newbie
*
Posts: 2


View Profile
« Reply #2 on: April 03, 2012, 08:50:51 am »

Thank you very much! The batched sed works!  Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.15 | SMF © 2011, Simple Machines