Article View: comp.lang.java.programmer
Article #170picking objects in 3D applet with mouse
From: Hugo Bouckaert
Date: Tue, 06 Feb 2001 08:55
Date: Tue, 06 Feb 2001 08:55
29 lines
2386 bytes
2386 bytes
Hi I would like to use the mouse to double-click on a line object in 3D applet after which the line lights up with a new colour. Preferably I would like to do this in a LineStripArray, but only highlight the line from the LineStripArray that I am actually double clicking on. I can't really work out where to start - browsed the web for info but couldn't find much. Some information about sensors and picking but nothing specific about the mouse as such. Here is a challenge! Anyone able to provide me with a code example? That would be highly appreciated. Thanks Hugo -- Dr Hugo Bouckaert R&D Support Engineer, Fractal Graphics 39 Fairway, Nedlands Western Australia 6009 Tel: +618 9386 7917 Email:hugo@fractalgraphics.com.au Web: http://www.fractalgraphics.com.au
Technical Details
Message-ID:
<3A7FBC0F.32EFE711@fractalgraphics.com.au>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!news.mel.connect.com.au!news.netspace.net.au!newsfeed.iinet.net.au!news.iinet.net.au!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d6b,c59f98f10021bc0b,start X-Google-Attributes: gid111d6b,public X-Google-Thread: 10fd6d,c59f98f10021bc0b,start X-Google-Attributes: gid10fd6d,public X-Google-Thread: 10d6db,c59f98f10021bc0b,start X-Google-Attributes: gid10d6db,public X-Google-Thread: 10a146,c59f98f10021bc0b,start X-Google-Attributes: gid10a146,public X-Google-Thread: fecd1,c59f98f10021bc0b,start X-Google-Attributes: gidfecd1,public X-Google-Thread: f47f5,c59f98f10021bc0b,start X-Google-Attributes: gidf47f5,public X-Google-Thread: 113ae9,c59f98f10021bc0b,start X-Google-Attributes: gid113ae9,public X-Google-Thread: 107d55,c59f98f10021bc0b,start X-Google-Attributes: gid107d55,public X-Google-ArrivalTime: 2001-02-06 00:54:48 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!news.mel.connect.com.au!news.netspace.net.au!newsfeed.iinet.net.au!news.iinet.net.au!not-for-mail Message-ID: <3A7FBC0F.32EFE711@fractalgraphics.com.au> Date: Tue, 06 Feb 2001 16:55:43 +0800 From: Hugo Bouckaert <hugo@fractalgraphics.com.au> X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer,comp.lang.java.3d,comp.lang.java.tech,comp.lang.java.misc,comp.lang.java.help,comp.lang.java.gui,aus.computers.java,comp.lang.java.api Subject: picking objects in 3D applet with mouse Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 29 NNTP-Posting-Host: 203.59.23.78 X-Trace: news.iinet.net.au 981449621 32118 203.59.23.78