473,545 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

OpenGL in C++ displayed on a web browser??

Hi I'm new to OpenGL, but have an OpenGL application written in CPP
that I would like to display on a web browser.

Was wondering how this could be done?

Thank you very much
Jul 22 '05 #1
15 4519
oracle411 wrote:
Hi I'm new to OpenGL, but have an OpenGL application written in CPP
that I would like to display on a web browser.

Was wondering how this could be done?


[Reading this post (and replying) in comp.lang.c++]

This is no possible. There is no such thing as "web browser"
defined in C++ language. Please consider posting to a newsgroup
for your OS.

Victor
Jul 22 '05 #2
WTH
"oracle411" <ne************ *@excite.com> wrote in message
news:3b******** *************** ***@posting.goo gle.com...
Hi I'm new to OpenGL, but have an OpenGL application written in CPP
that I would like to display on a web browser.

Was wondering how this could be done?

Thank you very much


Well, if you're talking about MSIE, you right an ActiveX control which is
actually very simple. If you're talking about cross platform/browser
support it gets a little bit hairy.

WTH
Jul 22 '05 #3
WTH
> Well, if you're talking about MSIE, you right

Maybe you even WRITE an ActiveX control, LOL.

WTH
Jul 22 '05 #4
WTH wrote:

Well, if you're talking about MSIE, you right
Maybe you mean "write", or perhaps "wright"...
an ActiveX control which is actually very
simple. If you're talking about cross platform/browser
support it gets a little bit hairy.


The only problem is persuading people with any
brains to turn ActiveX support back on again
just to see your OpenGL program.

Does this thing have to be interactive? If not
you can maybe render the image on the server
end then send them a PNG of the result.

Another option is to use shockwave - they do
cross platform 3D stuff in a browser.

Anyway, this is neither a C++ question nor an
OpenGL API question. You really need to decide
what exactly you mean by "web browser", who is
your target audience, what computers they are
likely to be using, then ask again in a newsgroup
related to that...

Prepare yourself for some "hairy" answers.

--
<\___/>
/ O O \
\_____/ FTB. For email, remove my socks.

Governments, like diapers, should be changed often,
and for the same reason.
Jul 22 '05 #5
"oracle411" <ne************ *@excite.com> wrote in message
news:3b******** *************** ***@posting.goo gle.com...
Hi I'm new to OpenGL, but have an OpenGL application written in CPP
that I would like to display on a web browser.

Was wondering how this could be done?

Thank you very much


It is possible, but depends on browser and OS.
For MSIE you have to use ActiveX.

Maybe there is a another solution... do google for
php opengl bindings... If this project can help you...

yooyo
Jul 22 '05 #6
You could if you wanted to, have your OpenGL application sitting on a
Web-server. Everytime someone requests the page that you want ur OpenGL
program to be displayed on, you can use a PHP, Perl, JSP or ASP script to
invoke ur C++ program to render the OpenGL screen, do an image screen dump
then use the image libriaries for what ever scripting language you are using
to display the image on to the web-page. Offcourse the only problem with
this is that it won't be very interactive, and the over heads on our
webserver would be horrible.

Your probably better of learning Java and JOGL, then prot your OpenGL
application to Java. Then you can use a Java applet on your web-page.

Both solutions, you would find will work on any client platform.

"oracle411" <ne************ *@excite.com> wrote in message
news:3b******** *************** ***@posting.goo gle.com...
Hi I'm new to OpenGL, but have an OpenGL application written in CPP
that I would like to display on a web browser.

Was wondering how this could be done?

Thank you very much

Jul 22 '05 #7
WTH
> The only problem is persuading people with any
brains to turn ActiveX support back on again
just to see your OpenGL program.
Actually, you'd be retarded to turn it completely off as you can just have
it prompt you for installs (and only for signed installs if you wish.)
Anyway, this is neither a C++ question nor an
OpenGL API question.


Oh, wait, this is an "OpenGL API" only ng... Lol. Fungus, cut the guy a
break. He wants to know if any OpenGL people have mixed it with a browser.
Yes he needs to proffer some more information.

WTH


Jul 22 '05 #8
Going a bit off-topic now... Ken Perlin presents some Java-based 3D on his
site. Not GL tough. But it might be interesting.
See: http://mrl.nyu.edu/~perlin/

Gunix

"oracle411" <ne************ *@excite.com> schreef in bericht
news:3b******** *************** ***@posting.goo gle.com...
Hi I'm new to OpenGL, but have an OpenGL application written in CPP
that I would like to display on a web browser.

Was wondering how this could be done?

Thank you very much

Jul 22 '05 #9
I am new to openGL, who can tell how I can start with a first openGL
application by starting with C++ builder?
Where can I downlaod C++ builder?

Jul 22 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
3179
by: Rick Muller | last post by:
I have a problem that I would like to get some advice on from other Pythonistas. I currently manage a (soon to be) open source project for displaying molecular graphics for a variety of different programs. To do this I need to draw pictures of the molecules, typically using OpenGL, and do some basic control, using some widget set. The code...
2
1848
by: Michael Sgier | last post by:
Hi OpenGL in VC7. I get errors with the default include gl file. Which and where to get working OpenGL files? I also get errors with glfunctions in Kdevelop. Any help here? Thanks indeed. Regards Michael
3
2500
by: john townsley | last post by:
Hi I want to do some OpenGl stuff with c++ on a winXP (home) machine. I have Borland c++ 5, MVS c++ 5 What C++ do you recommend (any others?)and where do you get the OpenGL stuff. thanks
10
5202
by: Bad_Kid | last post by:
which is better for what?
4
4107
by: tobfon | last post by:
I'm creating a scientific visualization application with rather high demands on performance. I've created a nice rendering engine for it in C++/OpenGL and a python interface to the rendering engine. Now I'm looking to build a GUI in python with the rendering engine as an integrated window. I will most likely use wxPython for the GUI and I...
3
9975
by: jg.campbell.ng | last post by:
I'm beginning learning Python and OpenGL in Python. Python fine. But difficulties with OpenGL; presumably with the installation of OpenGL. OS = Linux FC5. Python program gl_test.py: from OpenGL.GLUT import *
9
7494
by: Achim Domma | last post by:
Hi, I'm developing a GUI app in Python/C++ to visualize numerical results. Currently I'm using Python 2.4 with wx and PyOpenGLContext, but there are no windows binaries for Python 2.5 for quite some time now. I need a OpenGL context without restrictions and some settings dialogs. Is wx + PyOpenGL the way to go? Or could somebody recommend...
3
3134
by: Leon | last post by:
Hey, i am trying to develop a game, and I am using OpenGL and pthread. (on Ubuntu, so i also use the X library.) Now i have a problem. I have initialized OpenGL in the main thread, and i want to repaint 30 times every second (the usual framerate). Now i programmed a timer, which was able to wait for 30/1000 seconds. That happens in another...
0
7484
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7415
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7928
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7775
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5997
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5344
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4963
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1902
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1030
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.