WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-11-2008, 01:03 PM
RedSpikeyThing RedSpikeyThing is offline
Member
 
Join Date: Feb 2008
Posts: 9
custom DLE files

I'm trying to create a sensor that requires a custom constructor. The parameters required are NOT compatible with sensor.sendCommand, so I think a DLE is the way to go. I can't seem to find any documentation on creating DLEs, so would anyone be able to point me in the right direction?

Thanks!!
Reply With Quote
  #2  
Old 03-11-2008, 05:57 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The SDK for dle plugins has not been released yet. Either way, extension objects receive the same type of command data as normal sensors, so I'm not sure how much it will help you. What kind of data are you trying to pass to your plugin?
Reply With Quote
  #3  
Old 03-11-2008, 06:15 PM
RedSpikeyThing RedSpikeyThing is offline
Member
 
Join Date: Feb 2008
Posts: 9
Quote:
Originally Posted by farshizzo View Post
The SDK for dle plugins has not been released yet. Either way, extension objects receive the same type of command data as normal sensors, so I'm not sure how much it will help you. What kind of data are you trying to pass to your plugin?
hmmm I was under the impression that DLE's could have different constructors than DLS's. I'm trying to make a sensor that generates its data by merging two other sensors. Ideally it would just be a matter of passing the two sensors as parameters to the constructor. My other idea was more of a hack....cast the memory address of the sensor into a float and pass it as a command argument, where the C++ part casts it back into a memory address. I don't know if this will work, but it seems feasible.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when playing wav files...? vjonshih Vizard 1 05-23-2005 12:21 PM
loading large wav files in vizard tommahhh Vizard 1 05-16-2005 03:23 PM
Including Files that Include Other Files vjosh Vizard 1 09-21-2004 04:44 PM
animating custom faces: in search of "open_mouth" morphs vr_boyko Vizard 1 09-16-2004 10:30 AM
Creating Custom Avatar Heads farshizzo Vizard 22 09-12-2004 09:23 PM


All times are GMT -7. The time now is 09:10 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC