POV-Ray : Newsgroups : povray.off-topic : New CA Simulation Server Time
3 Sep 2024 23:23:59 EDT (-0400)
  New CA Simulation (Message 51 to 60 of 88)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: stbenge
Subject: Re: Thanks!
Date: 2 Feb 2011 13:29:24
Message: <4d49a284$1@news.povray.org>
On 2/2/2011 9:57 AM, Darren New wrote:
> Invisible wrote:
>> Wait - it's written in *Java* and yet it can access the *graphics card*??
>> How is that even possible?
>
> It's not. It's using a library interface between Java and OpenGL
> probably written in C or C++. Hence the security restrictions people
> were talking about.

You mean it's not "pure" Java? :S


Post a reply to this message

From: Darren New
Subject: Re: Thanks!
Date: 2 Feb 2011 14:42:04
Message: <4d49b38c$1@news.povray.org>
stbenge wrote:
> You mean it's not "pure" Java? :S

I was always amused to see things on software like "100% Pure Java!"(*)


(*) Requires Java 1.5.2.4 or later.


In other words, it's 100% pure java because their particular native 
interface got incorporated into the JVM just recently. :-)

-- 
Darren New, San Diego CA, USA (PST)
  "How did he die?"   "He got shot in the hand."
     "That was fatal?"
          "He was holding a live grenade at the time."


Post a reply to this message

From: Darren New
Subject: Re: Thanks!
Date: 2 Feb 2011 14:44:26
Message: <4d49b41a$1@news.povray.org>
stbenge wrote:
> Evidently there are some security issues involved with allowing an 
> applet to access graphics hardware, which is likely the reason the new 
> version of JRE is so intolerant.

Did you get it working on the new version? I kind of lost track.

-- 
Darren New, San Diego CA, USA (PST)
  "How did he die?"   "He got shot in the hand."
     "That was fatal?"
          "He was holding a live grenade at the time."


Post a reply to this message

From: stbenge
Subject: Re: Thanks!
Date: 2 Feb 2011 15:10:13
Message: <4d49ba25$1@news.povray.org>
On 2/2/2011 11:44 AM, Darren New wrote:
> stbenge wrote:
>> Evidently there are some security issues involved with allowing an
>> applet to access graphics hardware, which is likely the reason the new
>> version of JRE is so intolerant.
>
> Did you get it working on the new version? I kind of lost track.

No, but when I get the JDK downloaded/installed, I will (assuming that 
signing my applets is the cure).

Sam


Post a reply to this message

From: Darren New
Subject: Re: Thanks!
Date: 2 Feb 2011 16:10:37
Message: <4d49c84d$1@news.povray.org>
stbenge wrote:
> (assuming that signing my applets is the cure).

Heh heh heh.  Remember all the crap that Microsoft got for ActiveX security? :-)

-- 
Darren New, San Diego CA, USA (PST)
  "How did he die?"   "He got shot in the hand."
     "That was fatal?"
          "He was holding a live grenade at the time."


Post a reply to this message

From: stbenge
Subject: Re: Thanks!
Date: 2 Feb 2011 20:35:35
Message: <4d4a0667$1@news.povray.org>
On 2/2/2011 1:10 PM, Darren New wrote:
> stbenge wrote:
>> (assuming that signing my applets is the cure).
>
> Heh heh heh. Remember all the crap that Microsoft got for ActiveX
> security? :-)

I missed that... But I imagine if a company is faced with a potential 
lawsuit, they'd rather make things more difficult for developers rather 
than suffer the pain inflicted by hurled legal documents :/

Sam


Post a reply to this message

From: Darren New
Subject: Re: Thanks!
Date: 2 Feb 2011 20:44:01
Message: <4d4a0861$1@news.povray.org>
stbenge wrote:
> On 2/2/2011 1:10 PM, Darren New wrote:
>> stbenge wrote:
>>> (assuming that signing my applets is the cure).
>>
>> Heh heh heh. Remember all the crap that Microsoft got for ActiveX
>> security? :-)
> 
> I missed that... But I imagine if a company is faced with a potential 
> lawsuit, they'd rather make things more difficult for developers rather 
> than suffer the pain inflicted by hurled legal documents :/

Back when Java applets first came out, and ActiveX, everyone mocked ActiveX 
because it allowed unsafe code to run as long as the developer had signed 
the ActiveX package so you could track it back to him.

Now, 15 years later, Java gives in and does the same thing, because people 
really do want to run unsafe code sometimes.  (Altho what's unsafe about 
OpenGL I can't guess. :-)

-- 
Darren New, San Diego CA, USA (PST)
  "How did he die?"   "He got shot in the hand."
     "That was fatal?"
          "He was holding a live grenade at the time."


Post a reply to this message

From: stbenge
Subject: Re: Thanks!
Date: 2 Feb 2011 22:13:08
Message: <4d4a1d44@news.povray.org>
On 2/2/2011 5:43 PM, Darren New wrote:
> stbenge wrote:
>> On 2/2/2011 1:10 PM, Darren New wrote:
>>> stbenge wrote:
>>>> (assuming that signing my applets is the cure).
>>>
>>> Heh heh heh. Remember all the crap that Microsoft got for ActiveX
>>> security? :-)
>>
>> I missed that... But I imagine if a company is faced with a potential
>> lawsuit, they'd rather make things more difficult for developers
>> rather than suffer the pain inflicted by hurled legal documents :/
>
> Back when Java applets first came out, and ActiveX, everyone mocked
> ActiveX because it allowed unsafe code to run as long as the developer
> had signed the ActiveX package so you could track it back to him.

Ah, so /that's/ the point. I *knew* there had to be some reason behind 
it. But... aren't there file-hosting servers a person can use in 
conjunction with free website companies that would make anonymously 
distributing applets possible? I guess it can all be tracked down 
eventually, but it's not stopping some people, evidently.

> Now, 15 years later, Java gives in and does the same thing, because
> people really do want to run unsafe code sometimes. (Altho what's unsafe
> about OpenGL I can't guess. :-)

I don't know either. I'm sure there's a weakness somewhere (there always 
is [this is somehow more true for Microsoft apps]), or they wouldn't 
have made it an issue. Right? :(

Sam


Post a reply to this message

From: Invisible
Subject: Re: Thanks!
Date: 3 Feb 2011 05:08:48
Message: <4d4a7eb0$1@news.povray.org>
> It's the edge technique described in Milkdrop's preset authoring page.

 From what I can tell, very little is actually *described* in the 
Milkdrop documentation.

> When used carefully, you can produce reaction/diffusion and "skin dot"
> effects.

Yeah, you can do all kinds of really funky stuff with systems of 
differential equations, and the graphics hardware is pretty much 
designed for this type of number crunching.

> Evidently there are some security issues involved with allowing an
> applet to access graphics hardware, which is likely the reason the new
> version of JRE is so intolerant.

I can't imagine what the possible security risk could be...

>> I wish to God I could figure out how half of Milkdrop works. There are
>> some amazing 3D effects which cannot be done in realtime, and yet it
>> does them in realtime, even though that's clearly impossible.
>
> It's really not that difficult to learn (mastering it OTOH...). It draws
> graphics (shapes, dots) to a texture residing on a screen-wide...

Oh, yeah, I get how a graphics card works. What I can't figure out is 
how some of the effects that Milkdrop generates are mathematically 
possible. Figuring out the math is the hard part; actually making the 
hardware do it is usually quite simple.


Post a reply to this message

From: stbenge
Subject: Re: Thanks!
Date: 3 Feb 2011 14:15:05
Message: <4d4afeb9@news.povray.org>
On 2/3/2011 2:08 AM, Invisible wrote:
>> It's the edge technique described in Milkdrop's preset authoring page.
>
>  From what I can tell, very little is actually *described* in the
> Milkdrop documentation.

It's enough to get a person going with preset authoring.

>>> I wish to God I could figure out how half of Milkdrop works. There are
>>> some amazing 3D effects which cannot be done in realtime, and yet it
>>> does them in realtime, even though that's clearly impossible.
>>
>> It's really not that difficult to learn (mastering it OTOH...). It draws
>> graphics (shapes, dots) to a texture residing on a screen-wide...
>
> Oh, yeah, I get how a graphics card works.

Actually, I was describing what /Milkdrop/ does with a graphics card. 
All VJ'ing apps are pretty similar, I think.

> What I can't figure out is
> how some of the effects that Milkdrop generates are mathematically
> possible.

OK, you're going to have give me an example... give it over! Pick a 
preset from Milkdrop's standard distribution that epitomizes this 
nearly-impossible effect, and I'll tell you how I *think* it's done. 
Maybe other, more knowledgeable people will join in as well, and we can 
get to the bottom of this thing ;)

Sam


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.