[Interest] [Qt3D] Use already available OpenGL buffer for geometry

2020-05-21 Thread Nicolás Ulrich
Hi, I was wondering if there's a way to use a buffer I already have in the GPU memory for my geometry? I want to avoid copying it to the CPU and then having Qt3D uploading it again (it's for viewing data being computed/updated constantly with CUDA). I have it working with "raw" OpenGL but I

Re: [Interest] Understanding attached signals

2014-03-19 Thread Nicolás Ulrich
On Wed, Mar 19, 2014 at 8:19 AM, Sze Howe Koh szehowe@gmail.com wrote: Hi all, I was playing around with attached signals to learn how they tick. Here are two test programs, each with 3 different ways of connecting to a signal: //== import QtQuick 2.2 Rectangle { width:

Re: [Interest] Updating a model re-add everything in QML. How can i prevent that?

2012-11-08 Thread Nicolás Ulrich
Are you really using this? qRegisterMetaTypePathModel*(PathModel*);(with the * in the string) I guess it should be qRegisterMetaTypePathModel*(PathModel); On Thu, Nov 8, 2012 at 10:36 AM, Mark mark...@gmail.com wrote: On Thu, Nov 8, 2012 at 10:34 AM, Bo Thorsen

Re: [Interest] Updating a model re-add everything in QML. How can i prevent that?

2012-11-08 Thread Nicolás Ulrich
); ... - QML - import MyClass 1.0 ... MyClass {} On Thu, Nov 8, 2012 at 3:09 PM, Mark mark...@gmail.com wrote: On Thu, Nov 8, 2012 at 6:43 PM, Nicolás Ulrich nikola...@gmail.com wrote: Are you really using this? qRegisterMetaTypePathModel

Re: [Interest] Global QML slot?

2012-11-07 Thread Nicolás Ulrich
I'm still new at QML but... can't you do something like this? (assuming MyRectangle is declared on other file, as you said) Row { Repeater { signal someOtherEvent(int number) model: 10 delegate: MyRectangle { onSomeEvent: {