Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 695
  • Last Modified:

Delphi with VRML

Hi

  I need to view a VRML file inside my delphi application with ability to rotate using the code


Any Idea ??
0
omarmsf
Asked:
omarmsf
  • 3
  • 3
  • 2
  • +2
3 Solutions
 
HDatabase AdministratorCommented:
I would convert to a more usable format on the fly

http://www.ogre3d.org/tikiwiki/tiki-index.php?page=VRML%20Converter
0
 
omarmsfAuthor Commented:
Ok, then ??
0
 
HDatabase AdministratorCommented:
Okay well lets start with an image format that you are familiar with and that is very easy to manipulate within Delphi.For example convert it to a simple bitmap image and here is a nice article and code examples on rotating a bmp file.

http://stackoverflow.com/questions/848025/rotating-bitmaps-in-code

So you could use one of the open source vrml coverters to dynamically convert to a bitmap then you could easily write code to rotate the image.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
omarmsfAuthor Commented:
Put I need to rotate a 3D object. witch is exported from 3D studio or solid works, simply i need to create a viwer using dephi
0
 
HDatabase AdministratorCommented:
Okay well I would start with this awesome Delphi programming resources

http://www.freebyte.com/programming/delphi/

Ive seen image viewer code on this site written in delphi
0
 
ThommyCommented:
0
 
omarmsfAuthor Commented:
I cant this lib (AiS VRML Library ) the link is restrickted in UAE, can you please send it
0
 
ipaliokasCommented:
1) Download and install Cortona3D viewer for free (http://www.cortona3d.com/downloads)

2) Import a TWebBrowser component in your Delphi form

3) Navigate TWebBrowser to VRML (*.wrl) file

4) Use internal Cortona3D navigation controls to rotate, move, pan, zoom, etc.

I made a simple demo (pls download and see the attachment)

Hava a nice time.
0
 
ipaliokasCommented:
...and here is the demo program.
DelphiVRMLViewer.zip
0
 
Geert GruwezOracle dbaCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now