• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 747
  • 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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 GOracle dbaCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

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